Class: WsdlMapper::Generation::TypeToGenerate

Inherits:
Object
  • Object
show all
Defined in:
lib/wsdl_mapper/generation/type_to_generate.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, type_name) ⇒ TypeToGenerate

Returns a new instance of TypeToGenerate.



6
7
8
9
# File 'lib/wsdl_mapper/generation/type_to_generate.rb', line 6

def initialize(type, type_name)
  @type = type
  @name = type_name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/wsdl_mapper/generation/type_to_generate.rb', line 4

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type.



4
5
6
# File 'lib/wsdl_mapper/generation/type_to_generate.rb', line 4

def type
  @type
end