Sha256: 92a7f7cc03394d4462c6f7dc514b2755f6446edadfb280a734d360886992023d
Contents?: true
Size: 722 Bytes
Versions: 9
Compression:
Stored size: 722 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' utc 'created', read_only: true utc 'changed', read_only: true string 'resource_uri', read_only: true end end end
Version data entries
9 entries across 9 versions & 1 rubygems