Class: CheckoutTokenResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/AfricasTalking/Token.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(token_, description_) ⇒ CheckoutTokenResponse

Returns a new instance of CheckoutTokenResponse.



62
63
64
65
# File 'lib/AfricasTalking/Token.rb', line 62

def initialize token_, description_
  @token      = token_
  @description = description_
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



61
62
63
# File 'lib/AfricasTalking/Token.rb', line 61

def description
  @description
end

#tokenObject

Returns the value of attribute token.



61
62
63
# File 'lib/AfricasTalking/Token.rb', line 61

def token
  @token
end