class WsdlMapper::Naming::EnumerationValueName
Represents the value of an enumeration value, consisting of the constant to generate and the string key, that will be the enumeration value.
Attributes
constant_name[R]
key_name[R]
Public Class Methods
new(constant_name, key_name)
click to toggle source
@param [String] constant_name
Name for the constant to generate. @param [String] key_name
String value.
# 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