Skip to content

Venue types

Ilya Krukowski edited this page Apr 11, 2022 · 1 revision

Venue types endpoint, supports pagination.

Fetch venue types

Providing pagination data is optional:

types = client.venue_types itemsPerPage: 3, page: 2
types[0].name # => 'Разовая'

Fetch a single venue type

type = client.venue_type 1
venue_type.name # => 'Постоянная'

Create venue type

venue_type = client.create_venue_type name: 'Новый тип'
venue_type.name # => 'Новый тип'
Clone this wiki locally