Class: OpenAPIGenerateTypeScriptFetch::TaskInfo
- Inherits:
-
Object
- Object
- OpenAPIGenerateTypeScriptFetch::TaskInfo
- Defined in:
- lib/openapi_generate_typescript_fetch/taskinfo.rb
Overview
For use as Gen.x.
Instance Attribute Summary collapse
-
#callclasses ⇒ Object
readonly
Returns the value of attribute callclasses.
-
#cfg ⇒ Object
readonly
Returns the value of attribute cfg.
-
#gem_name ⇒ Object
readonly
Returns the value of attribute gem_name.
-
#gem_version ⇒ Object
readonly
Returns the value of attribute gem_version.
-
#generator_info ⇒ Object
Returns the value of attribute generator_info.
-
#makers ⇒ Object
readonly
Returns the value of attribute makers.
-
#order ⇒ Object
readonly
Returns the value of attribute order.
-
#schemas ⇒ Object
readonly
Returns the value of attribute schemas.
-
#server_data ⇒ Object
Returns the value of attribute server_data.
-
#servers ⇒ Object
readonly
Returns the value of attribute servers.
-
#shared ⇒ Object
readonly
Returns the value of attribute shared.
Instance Method Summary collapse
-
#initialize(config, order) ⇒ TaskInfo
constructor
A new instance of TaskInfo.
Constructor Details
#initialize(config, order) ⇒ TaskInfo
Returns a new instance of TaskInfo.
39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 39 def initialize(config, order) @cfg = config @order = order @gem_name = OpenAPIGenerateTypeScriptFetch::NAME @gem_version = OpenAPIGenerateTypeScriptFetch::VERSION @schemas = ExportedNames.new('schemas') @servers = ExportedNames.new('servers') @shared = ExportedNames.new('shared') @callclasses = ExportedNames.new('callclasses') @makers = ExportedNames.new('makers') @server_data = nil end |
Instance Attribute Details
#callclasses ⇒ Object (readonly)
Returns the value of attribute callclasses.
36 37 38 |
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 36 def callclasses @callclasses end |
#cfg ⇒ Object (readonly)
Returns the value of attribute cfg.
34 35 36 |
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 34 def cfg @cfg end |
#gem_name ⇒ Object (readonly)
Returns the value of attribute gem_name.
34 35 36 |
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 34 def gem_name @gem_name end |
#gem_version ⇒ Object (readonly)
Returns the value of attribute gem_version.
34 35 36 |
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 34 def gem_version @gem_version end |
#generator_info ⇒ Object
Returns the value of attribute generator_info.
35 36 37 |
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 35 def generator_info @generator_info end |
#makers ⇒ Object (readonly)
Returns the value of attribute makers.
36 37 38 |
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 36 def makers @makers end |
#order ⇒ Object (readonly)
Returns the value of attribute order.
34 35 36 |
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 34 def order @order end |
#schemas ⇒ Object (readonly)
Returns the value of attribute schemas.
36 37 38 |
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 36 def schemas @schemas end |
#server_data ⇒ Object
Returns the value of attribute server_data.
37 38 39 |
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 37 def server_data @server_data end |
#servers ⇒ Object (readonly)
Returns the value of attribute servers.
36 37 38 |
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 36 def servers @servers end |
#shared ⇒ Object (readonly)
Returns the value of attribute shared.
36 37 38 |
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 36 def shared @shared end |