Class: ActiveMerchant::Billing::MigsCodes::CreditCardType
- Inherits:
-
Object
- Object
- ActiveMerchant::Billing::MigsCodes::CreditCardType
- Defined in:
- lib/active_merchant/billing/gateways/migs/migs_codes.rb
Instance Attribute Summary collapse
-
#am_code ⇒ Object
Returns the value of attribute am_code.
-
#migs_code ⇒ Object
Returns the value of attribute migs_code.
-
#migs_long_code ⇒ Object
Returns the value of attribute migs_long_code.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(am_code, migs_code, migs_long_code, name) ⇒ CreditCardType
constructor
A new instance of CreditCardType.
Constructor Details
#initialize(am_code, migs_code, migs_long_code, name) ⇒ CreditCardType
Returns a new instance of CreditCardType.
74 75 76 77 78 79 |
# File 'lib/active_merchant/billing/gateways/migs/migs_codes.rb', line 74 def initialize(am_code, migs_code, migs_long_code, name) @am_code = am_code @migs_code = migs_code @migs_long_code = migs_long_code @name = name end |
Instance Attribute Details
#am_code ⇒ Object
Returns the value of attribute am_code.
73 74 75 |
# File 'lib/active_merchant/billing/gateways/migs/migs_codes.rb', line 73 def am_code @am_code end |
#migs_code ⇒ Object
Returns the value of attribute migs_code.
73 74 75 |
# File 'lib/active_merchant/billing/gateways/migs/migs_codes.rb', line 73 def migs_code @migs_code end |
#migs_long_code ⇒ Object
Returns the value of attribute migs_long_code.
73 74 75 |
# File 'lib/active_merchant/billing/gateways/migs/migs_codes.rb', line 73 def migs_long_code @migs_long_code end |
#name ⇒ Object
Returns the value of attribute name.
73 74 75 |
# File 'lib/active_merchant/billing/gateways/migs/migs_codes.rb', line 73 def name @name end |