Class: OpenAPIGenerateTypeScriptFetch::TaskInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/openapi_generate_typescript_fetch/taskinfo.rb

Overview

For use as Gen.x.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#callclassesObject (readonly)

Returns the value of attribute callclasses.



36
37
38
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 36

def callclasses
  @callclasses
end

#cfgObject (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_nameObject (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_versionObject (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_infoObject

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

#makersObject (readonly)

Returns the value of attribute makers.



36
37
38
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 36

def makers
  @makers
end

#orderObject (readonly)

Returns the value of attribute order.



34
35
36
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 34

def order
  @order
end

#schemasObject (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_dataObject

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

#serversObject (readonly)

Returns the value of attribute servers.



36
37
38
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 36

def servers
  @servers
end

#sharedObject (readonly)

Returns the value of attribute shared.



36
37
38
# File 'lib/openapi_generate_typescript_fetch/taskinfo.rb', line 36

def shared
  @shared
end