Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 812 Bytes

File metadata and controls

29 lines (17 loc) · 812 Bytes

LIFULL HOME'S Public API Demo Ruby

This application is designed to demo the LIFULL HOME'S Public API.

Installation

Clone this repository:

git clone https://github.com/next-group/sample-public-api-ruby.git

Install dependency gems:

bundle install

Or install it relative path:

bundle install --path vendor/bundle

Configure client settings in app.rb (provided by LIFULL HOME'S):

set :auth_server,   'Auth service URI (ex. https://auth.example.com/)'
set :api_server,    'API service URI (ex. https://api.example.com/)'
set :client_id,     'OAuth 2.0 client ID for your application'
set :client_secret, 'OAuth 2.0 client secret for your application'

Run application with puma:

bundle exec puma -C config/puma.rb

If you have any problems or requests please contact us.