class Spike::Token::Response
Token
Object
Public Instance Methods
created()
click to toggle source
# File lib/spike/token.rb, line 31 def created Time.at(@attributes['created']) end
currency()
click to toggle source
# File lib/spike/token.rb, line 39 def currency @attributes['currency'] end
id()
click to toggle source
# File lib/spike/token.rb, line 23 def id @attributes['id'] end
live_mode?()
click to toggle source
# File lib/spike/token.rb, line 27 def live_mode? @attributes['livemode'] end
source()
click to toggle source
# File lib/spike/token.rb, line 43 def source @attributes['source'] end
type()
click to toggle source
# File lib/spike/token.rb, line 35 def type @attributes['type'] end