Sha256: 92ead61ccd24a89f7b9884442436c3891c47e4bd5241215bb3fe2413a00be476
Contents?: true
Size: 736 Bytes
Versions: 12
Compression:
Stored size: 736 Bytes
Contents
module EventbriteSDK class Order < Resource resource_path 'orders/:id' # Defines order#resend_confirmation_email and order#refund # # When an event has an id the POST is made, otherwise we return false # POSTS to order/:id/(resend_confirmation_email|refunds) define_api_actions :resend_confirmation_email, { refund: :refunds } has_many :attendees, object_class: 'Attendee' belongs_to :event, object_class: 'Event' schema_definition do string 'name' string 'first_name' string 'last_name' string 'email' 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