Place RubyGem
A RubyGem for interfacing with the Place API
Installation
To install using Bundler:
gem 'place', :git => 'git://github.com/placepay/place-ruby.git'
To manually install place-ruby
from github use gem specific_install:
gem install specific_install
gem specific_install https://github.com/placepay/place-ruby.git
Basic usage
require 'place'
# set your api key
Place.api_key = 'private_key_6fsMi3GDxXg1XXSluNx1sLEd'
# create an account
account = Place::Account.create(
:email => '[email protected]',
:full_name => 'Joe Schmoe',
:user_type => 'payer'
)
Documentation
Read the docs