class Ingenico::Connect::SDK::Domain::Product::DeviceFingerprintRequest

@attr [String] collector_callback

Attributes

collector_callback[RW]

Public Instance Methods

from_hash(hash) click to toggle source
# File lib/ingenico/connect/sdk/domain/product/device_fingerprint_request.rb, line 23
def from_hash(hash)
  super
  if hash.has_key? 'collectorCallback'
    @collector_callback = hash['collectorCallback']
  end
end
to_h() click to toggle source

@return (Hash)

Calls superclass method Ingenico::Connect::SDK::DataObject#to_h
# File lib/ingenico/connect/sdk/domain/product/device_fingerprint_request.rb, line 17
def to_h
  hash = super
  hash['collectorCallback'] = @collector_callback unless @collector_callback.nil?
  hash
end