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

- (TypeToGenerate) initialize(type, type_name)

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

- (Object) name (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

- (Object) type (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