Sha256: f20477a356b64e80d9eaec64f953b674610ff882d59e6beec0c2a86d7674014d

Contents?: true

Size: 651 Bytes

Versions: 12

Compression:

Stored size: 651 Bytes

Contents

module EventbriteSDK
  class Attendee < Resource
    resource_path 'orders/:order_id/attendees/:id'

    belongs_to :order, object_class: 'Order'

    has_many :attendees, object_class: 'Attendee'

    schema_definition do
      string 'event_id'
      string 'order_id'
      string 'ticket_class_id'
      string 'ticket_class_name'
      string 'status'
      boolean 'refunded'
      boolean 'cancelled'
      boolean 'checked_in'
      integer 'quantity'
      string 'profile'
      string 'costs'
      datetime 'created', read_only: true
      datetime 'changed', read_only: true
      string 'resource_uri', read_only: true
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
eventbrite_sdk-3.1.1 lib/eventbrite_sdk/attendee.rb
eventbrite_sdk-3.1.0 lib/eventbrite_sdk/attendee.rb
eventbrite_sdk-3.0.11 lib/eventbrite_sdk/attendee.rb
eventbrite_sdk-3.0.10 lib/eventbrite_sdk/attendee.rb
eventbrite_sdk-3.0.9 lib/eventbrite_sdk/attendee.rb
eventbrite_sdk-3.0.8 lib/eventbrite_sdk/attendee.rb
eventbrite_sdk-3.0.7 lib/eventbrite_sdk/attendee.rb
eventbrite_sdk-3.0.6 lib/eventbrite_sdk/attendee.rb
eventbrite_sdk-3.0.5 lib/eventbrite_sdk/attendee.rb
eventbrite_sdk-3.0.4 lib/eventbrite_sdk/attendee.rb
eventbrite_sdk-3.0.3 lib/eventbrite_sdk/attendee.rb
eventbrite_sdk-3.0.2 lib/eventbrite_sdk/attendee.rb