Class: Klarna::Checkout::Customer
- Defined in:
- lib/klarna/checkout/customer.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Methods inherited from Resource
defaults, defaults=, #initialize, #json_sanitize, #to_json
Methods included from HasOne
Methods included from HasMany
Constructor Details
This class inherits a constructor from Klarna::Checkout::Resource
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/klarna/checkout/customer.rb', line 4 def type @type end |
Instance Method Details
#as_json ⇒ Object
6 7 8 9 10 |
# File 'lib/klarna/checkout/customer.rb', line 6 def as_json json_sanitize({ :type => @type }) end |