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



499
500
501
502
503
504
# File 'lib/zaala/api/types.rb', line 499

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