Method: ServiceTypeValue#initialize
- Defined in:
- lib/service_type_value.rb
#initialize(hash) ⇒ ServiceTypeValue
Returns a new instance of ServiceTypeValue.
30 31 32 33 34 |
# File 'lib/service_type_value.rb', line 30 def initialize(hash) hash.each_pair do |key, value| self.send(key.to_s+"=", value) end end |