Class: MercadoPago::CustomCheckout::IdentificationType
- Defined in:
- lib/mercadopago/custom_checkout/identification_type.rb
Instance Attribute Summary collapse
-
#extras ⇒ Object
readonly
Returns the value of attribute extras.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id:, name:, **extras) ⇒ IdentificationType
constructor
A new instance of IdentificationType.
Methods inherited from Resource
Constructor Details
#initialize(id:, name:, **extras) ⇒ IdentificationType
Returns a new instance of IdentificationType.
6 7 8 9 10 |
# File 'lib/mercadopago/custom_checkout/identification_type.rb', line 6 def initialize(id:, name:, **extras) @id = id @name = name @extras = extras end |
Instance Attribute Details
#extras ⇒ Object (readonly)
Returns the value of attribute extras.
4 5 6 |
# File 'lib/mercadopago/custom_checkout/identification_type.rb', line 4 def extras @extras end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/mercadopago/custom_checkout/identification_type.rb', line 4 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/mercadopago/custom_checkout/identification_type.rb', line 4 def name @name end |