Komoju API Ruby Bindings
Add this line to your application's Gemfile:
gem 'komoju'
And then execute:
$ bundle
Or install it yourself as:
$ gem install komoju
client = Komoju.connect("api-secret-key")
client.payments.show("55404024b7b0dd6ec490158925")
payment_details = {
type: "konbini",
store: "lawson",
email: "user@example.com",
phone: "08011111111"
}
client.payments.create(amount: 100, currency: "JPY", external_order_num: "123", payment_details: payment_details)
- Fork it ( https://github.com/[my-github-username]/komoju/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request