require "ubiregi_api"
Make sure library search path is configured properly.
client = UbiregiAPI::Client.new(secret, auth_token)
secret and auth_token can be found your developer page (https://ubiregi.com/developer).
client._get('customers')
client._post('customers', post_data)
post_data must be a JSON transformable value (Hash or Array).
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.