Sha256: 8ea0492864d1297ce3fe81a93cdc51adc033d0a26b3b2fbe3fa49826d8345cd5

Contents?: true

Size: 538 Bytes

Versions: 1

Compression:

Stored size: 538 Bytes

Contents

class EventbriteSDK::OrgDiscount < EventbriteSDK::Discount
  resource_path create: 'organizations/:organization_id/discounts',
                update: 'discounts/:id'
end

class EventbriteSDK::OrgVenue < EventbriteSDK::Venue
  resource_path create: 'organizations/:organization_id/venues',
                update: 'venues/:id'
end

class EventbriteSDK::OrgEvent < EventbriteSDK::Event
  resource_path create: 'organizations/:organization_id/events',
                update: 'events/:id'

  belongs_to :venue, object_class: 'OrgVenue'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eventbrite_sdk-3.6.0 lib/eventbrite_sdk/organization_entities.rb