Class: ActiveMerchant::Billing::StripeGateway::BankAccount
- Inherits:
-
Object
- Object
- ActiveMerchant::Billing::StripeGateway::BankAccount
- Defined in:
- lib/stripe/ext/active_merchant/active_merchant.rb
Instance Attribute Summary collapse
-
#account_number ⇒ Object
Returns the value of attribute account_number.
-
#bank_name ⇒ Object
Returns the value of attribute bank_name.
-
#routing_number ⇒ Object
Returns the value of attribute routing_number.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(args) ⇒ BankAccount
constructor
A new instance of BankAccount.
Constructor Details
#initialize(args) ⇒ BankAccount
Returns a new instance of BankAccount.
176 177 178 179 180 |
# File 'lib/stripe/ext/active_merchant/active_merchant.rb', line 176 def initialize(args) args.each do |k,v| instance_variable_set("@#{k}", v) unless v.nil? end end |
Instance Attribute Details
#account_number ⇒ Object
Returns the value of attribute account_number.
174 175 176 |
# File 'lib/stripe/ext/active_merchant/active_merchant.rb', line 174 def account_number @account_number end |
#bank_name ⇒ Object
Returns the value of attribute bank_name.
174 175 176 |
# File 'lib/stripe/ext/active_merchant/active_merchant.rb', line 174 def bank_name @bank_name end |
#routing_number ⇒ Object
Returns the value of attribute routing_number.
174 175 176 |
# File 'lib/stripe/ext/active_merchant/active_merchant.rb', line 174 def routing_number @routing_number end |
#type ⇒ Object
Returns the value of attribute type.
174 175 176 |
# File 'lib/stripe/ext/active_merchant/active_merchant.rb', line 174 def type @type end |