-
Notifications
You must be signed in to change notification settings - Fork 1
Venue types
Ilya Krukowski edited this page Apr 11, 2022
·
1 revision
Venue types endpoint, supports pagination.
Providing pagination data is optional:
types = client.venue_types itemsPerPage: 3, page: 2
types[0].name # => 'Разовая'
type = client.venue_type 1
venue_type.name # => 'Постоянная'
venue_type = client.create_venue_type name: 'Новый тип'
venue_type.name # => 'Новый тип'