Class: Postmen::PaymentMethodAccount
- Inherits:
-
Object
- Object
- Postmen::PaymentMethodAccount
- Includes:
- Common
- Defined in:
- lib/postmen/payment_method_account.rb
Instance Attribute Summary collapse
-
#account_number ⇒ Object
readonly
Returns the value of attribute account_number.
-
#country ⇒ Object
readonly
Returns the value of attribute country.
-
#postal_code ⇒ Object
readonly
Returns the value of attribute postal_code.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(options) ⇒ PaymentMethodAccount
constructor
A new instance of PaymentMethodAccount.
Methods included from Common
Constructor Details
#initialize(options) ⇒ PaymentMethodAccount
Returns a new instance of PaymentMethodAccount.
10 11 12 13 14 15 |
# File 'lib/postmen/payment_method_account.rb', line 10 def initialize() @type = [:type] @account_number = [:account_number] @postal_code = [:postal_code] @country = [:country] end |
Instance Attribute Details
#account_number ⇒ Object (readonly)
Returns the value of attribute account_number.
5 6 7 |
# File 'lib/postmen/payment_method_account.rb', line 5 def account_number @account_number end |
#country ⇒ Object (readonly)
Returns the value of attribute country.
5 6 7 |
# File 'lib/postmen/payment_method_account.rb', line 5 def country @country end |
#postal_code ⇒ Object (readonly)
Returns the value of attribute postal_code.
5 6 7 |
# File 'lib/postmen/payment_method_account.rb', line 5 def postal_code @postal_code end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
5 6 7 |
# File 'lib/postmen/payment_method_account.rb', line 5 def type @type end |