lib/eventbrite_sdk/user.rb in eventbrite_sdk-3.4.0 vs lib/eventbrite_sdk/user.rb in eventbrite_sdk-3.6.0

- old
+ new

@@ -1,19 +1,11 @@ module EventbriteSDK class User < Resource - # Defines user#verify and user#unverify - # - # An user logged using Eventbrite we should generate a verification action - # NOTE: only selected users can verify/unverify other users. - # POSTS to users/:id/(verify|unverify) - define_api_actions :verify, :unverify - resource_path 'users/:id' - has_many :organizers, object_class: 'Organizer', key: :organizers + # NOTE: This name is pretty legacy. We should consider renaming + # to "orders" to normalize things. has_many :owned_event_orders, object_class: 'Order', key: :orders - has_many :owned_events, object_class: 'Event', key: :events - has_many :ticket_groups, object_class: 'TicketGroup' schema_definition do string 'name' string 'first_name' string 'last_name'