lib/eventbrite_sdk/order.rb in eventbrite_sdk-3.4.0 vs lib/eventbrite_sdk/order.rb in eventbrite_sdk-3.6.0
- old
+ new
@@ -1,14 +1,8 @@
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'