Skip to content
No description or website provided.
Find file
Latest commit 1427b91 @soutaro soutaro README
Failed to load latest commit information.
lib Make _get and _post public
.gitignore Bundle gem
Gemfile Bundle gem README
Rakefile Bundle gem
ubiregi_api_ruby.gemspec Gem name should be ubiregi_api_ruby

1. Load UbiregiAPI library

require "ubiregi_api"

Make sure library search path is configured properly.

2. Instantiate Client

client =, auth_token)

secret and auth_token can be found your developer page (

3. Send GET request


4. Send POST request

client._post('customers', post_data)

post_data must be a JSON transformable value (Hash or Array).

5. Retrieve Whole Collection

client._index('customers', 'customers')

_index method can be used to retrieve all data included in a collection. It understands next-url field included in the response, and send GET request again.

Something went wrong with that request. Please try again.