class Centaman::Object::Capacity

Attributes

sold_out[RW]

Public Instance Methods

attributes() click to toggle source

rubocop:disable Metrics/MethodLength

# File lib/centaman/object/capacity.rb, line 6
def attributes
  [
    Centaman::Attribute.new(
      centaman_key: 'TimedTicketTypeId',
      app_key: :booking_time_id,
      type: :integer
    ),
    Centaman::Attribute.new(
      centaman_key: 'TimedTicketTypeDescription',
      app_key: :booking_time_description,
      type: :integer
    ),
    Centaman::Attribute.new(
      centaman_key: 'Capacity',
      app_key: :capacity,
      type: :integer
    ),
    Centaman::Attribute.new(
      centaman_key: 'vacancy',
      app_key: :vacancy,
      type: :integer
    )
  ]
end