-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
inside plain irb outside project.
irb(main):001:0> require 'spike'
=> true
{"card[number]"=>"4444333322221111", "card[exp_month]"=>"3", "card[exp_year]"=>"2017", "card[cvc]"=>"111", "card[name]"=>"TARO SPIKE", "currency"=>"JPY", "email"=>"foo@example.com"}
irb(main):015:0> token = spike.token.create(token_params)
NameError: uninitialized constant Spike::JSON
require 'json'
token = spike.token.create(token_params)
=> #<Spike::Token::Response:0x007feeba1cf6a0
Thank you for this library btw.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels