Method: IntegrationApi::IavTokenExchangeVendorResponseVO#initialize

Defined in:
lib/integration_api/models/iav_token_exchange_vendor_response_vo.rb

#initialize(attributes = {}) ⇒ IavTokenExchangeVendorResponseVO

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



31
32
33
34
35
36
# File 'lib/integration_api/models/iav_token_exchange_vendor_response_vo.rb', line 31

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 }
end