Class: ActiveMerchant::Billing::MigsCodes::CreditCardType

Inherits:
Object
  • Object
show all
Defined in:
lib/active_merchant/billing/gateways/migs/migs_codes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_codeObject

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_codeObject

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_codeObject

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

#nameObject

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