BookingSync::API
This gem allows Ruby developers to programmatically access https://www.bookingsync.com
Installation
Add this line to your application's Gemfile:
gem 'bookingsync-api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bookingsync-api
Usage
Gem assumes that you already have OAuth token for an account.
api = BookingSync::API.new("OAUTH_TOKEN")
rentals = api.rentals # => [Sawyer::Resource, Sawyer::Resource]
rentals.first.name # => "Small apartment"
See our documentation for more info.
Running specs
bundle exec rspec
OR
bundle exec guard
Contributing
- Fork it ( http://github.com/BookingSync/bookingsync-api/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 new Pull Request

