Class: Dinie::KycSubject

Inherits:
Internal::Model show all
Defined in:
lib/dinie/generated/types/kyc.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



22
23
24
25
26
27
28
# File 'lib/dinie/generated/types/kyc.rb', line 22

def self.deserialize(raw)
  new(
    id: raw[:id],
    name: raw[:name],
    subject_type: raw[:subject_type]
  )
end