Class: PagSeguro::SubscriptionPaymentMethod

Inherits:
Object
  • Object
show all
Includes:
Extensions::EnsureType, Extensions::MassAssignment
Defined in:
lib/pagseguro/subscription_payment_method.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Extensions::EnsureType

#ensure_type

Methods included from Extensions::MassAssignment

#initialize

Instance Attribute Details

#holderObject

Get the holder



10
11
12
# File 'lib/pagseguro/subscription_payment_method.rb', line 10

def holder
  @holder
end

#tokenObject

Set the token



7
8
9
# File 'lib/pagseguro/subscription_payment_method.rb', line 7

def token
  @token
end

Instance Method Details

#typeObject



17
18
19
# File 'lib/pagseguro/subscription_payment_method.rb', line 17

def type
  'CREDITCARD'
end