Method: TripletexRubyClient::ResponseWrapperProductGroupRelation#initialize
- Defined in:
- lib/tripletex_ruby_client/models/response_wrapper_product_group_relation.rb
#initialize(attributes = {}) ⇒ ResponseWrapperProductGroupRelation
Initializes the object
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/tripletex_ruby_client/models/response_wrapper_product_group_relation.rb', line 33 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } if attributes.has_key?(:'value') self.value = attributes[:'value'] end end |