Module: BookingSync::API::Client::RentalCancelationPolicyItems
- Included in:
- BookingSync::API::Client
- Defined in:
- lib/bookingsync/api/client/rental_cancelation_policy_items.rb
Instance Method Summary collapse
-
#rental_cancelation_policy_item(rental_cancelation_policy_item, options = {}) ⇒ BookingSync::API::Resource
Get a single rental cancelation policy item.
-
#rental_cancelation_policy_items(options = {}, &block) ⇒ Array<BookingSync::API::Resource>
List rental cancelation policy items.
Instance Method Details
#rental_cancelation_policy_item(rental_cancelation_policy_item, options = {}) ⇒ BookingSync::API::Resource
Get a single rental cancelation policy item
29 30 31 |
# File 'lib/bookingsync/api/client/rental_cancelation_policy_items.rb', line 29 def rental_cancelation_policy_item(rental_cancelation_policy_item, = {}) get("rental_cancelation_policy_items/#{rental_cancelation_policy_item}", ).pop end |
#rental_cancelation_policy_items(options = {}, &block) ⇒ Array<BookingSync::API::Resource>
List rental cancelation policy items.
Returns rental cancelation policy items for the rentals of the account and account itself user is authenticated with.
18 19 20 |
# File 'lib/bookingsync/api/client/rental_cancelation_policy_items.rb', line 18 def rental_cancelation_policy_items( = {}, &block) paginate :rental_cancelation_policy_items, , &block end |