Module: BookingSync::API::Client::BookingsFees
- Included in:
- BookingSync::API::Client
- Defined in:
- lib/bookingsync/api/client/bookings_fees.rb
Instance Method Summary collapse
-
#bookings_fee(bookings_fee, options = {}) ⇒ BookingSync::API::Resource
Get a single bookings fee.
-
#bookings_fees(options = {}, &block) ⇒ Array<BookingSync::API::Resource>
List bookings fees.
Instance Method Details
#bookings_fee(bookings_fee, options = {}) ⇒ BookingSync::API::Resource
Get a single bookings fee
28 29 30 |
# File 'lib/bookingsync/api/client/bookings_fees.rb', line 28 def bookings_fee(bookings_fee, = {}) get("bookings_fees/#{bookings_fee}", ).pop end |
#bookings_fees(options = {}, &block) ⇒ Array<BookingSync::API::Resource>
List bookings fees
Returns bookings fees for the account user is authenticated with.
17 18 19 |
# File 'lib/bookingsync/api/client/bookings_fees.rb', line 17 def bookings_fees( = {}, &block) paginate :bookings_fees, , &block end |