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