Class: WsdlMapper::Naming::EnumerationValueName
- Inherits:
-
Object
- Object
- WsdlMapper::Naming::EnumerationValueName
- Defined in:
- lib/wsdl_mapper/naming/enumeration_value_name.rb
Overview
Represents the value of an enumeration value, consisting of the constant to generate and the string key, that will be the enumeration value.
Instance Attribute Summary (collapse)
-
- (Object) constant_name
readonly
Returns the value of attribute constant_name.
-
- (Object) key_name
readonly
Returns the value of attribute key_name.
Instance Method Summary (collapse)
-
- (EnumerationValueName) initialize(constant_name, key_name)
constructor
A new instance of EnumerationValueName.
Constructor Details
- (EnumerationValueName) initialize(constant_name, key_name)
Returns a new instance of EnumerationValueName
10 11 12 13 |
# File 'lib/wsdl_mapper/naming/enumeration_value_name.rb', line 10 def initialize(constant_name, key_name) @constant_name = constant_name @key_name = key_name end |
Instance Attribute Details
- (Object) constant_name (readonly)
Returns the value of attribute constant_name
6 7 8 |
# File 'lib/wsdl_mapper/naming/enumeration_value_name.rb', line 6 def constant_name @constant_name end |
- (Object) key_name (readonly)
Returns the value of attribute key_name
6 7 8 |
# File 'lib/wsdl_mapper/naming/enumeration_value_name.rb', line 6 def key_name @key_name end |