Class: Dinie::Events::CustomerDeniedData
- Inherits:
-
Internal::Model
- Object
- Internal::Model
- Dinie::Events::CustomerDeniedData
- Defined in:
- lib/dinie/generated/events/customer_denied.rb
Constant Summary
Constants inherited from Internal::Model
Internal::Model::REDACTED_ATTRIBUTES
Class Method Summary collapse
Methods inherited from Internal::Model
#==, attribute, attributes, #deconstruct_keys, #hash, inherited, #initialize, #inspect, #to_h
Constructor Details
This class inherits a constructor from Dinie::Internal::Model
Class Method Details
.deserialize(raw) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/dinie/generated/events/customer_denied.rb', line 11 def self.deserialize(raw) new( cnpj: raw[:cnpj], cpf: raw[:cpf], email: raw[:email], external_id: raw[:external_id], id: raw[:id], name: raw[:name], phone: raw[:phone], status: raw[:status] ) end |