Module: BookingSync::API::Client::ChangeOvers
- Included in:
- BookingSync::API::Client
- Defined in:
- lib/bookingsync/api/client/change_overs.rb
Instance Method Summary collapse
-
#change_over(change_over) ⇒ BookingSync::API::Resource
Get a single change_over.
-
#change_overs(options = {}, &block) ⇒ Array<BookingSync::API::Resource>
List change_overs.
Instance Method Details
#change_over(change_over) ⇒ BookingSync::API::Resource
Get a single change_over
24 25 26 |
# File 'lib/bookingsync/api/client/change_overs.rb', line 24 def change_over(change_over) get("change_overs/#{change_over}").pop end |
#change_overs(options = {}, &block) ⇒ Array<BookingSync::API::Resource>
List change_overs
Returns change_overs for the rentals of the account, user is authenticated with.
15 16 17 |
# File 'lib/bookingsync/api/client/change_overs.rb', line 15 def change_overs( = {}, &block) paginate :change_overs, , &block end |