Class: Zaala::API::ResponseIdentifier

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/zaala/api/types.rb

Class Method Summary collapse

Class Method Details

.from_message(h) ⇒ Object



502
503
504
505
506
507
# File 'lib/zaala/api/types.rb', line 502

def self.from_message(h)
  ResponseIdentifier.new({
    guardean_order_id: h[:guardeanOrderId],
    authorization_id: h[:authorizationId],
  })
end