Sha256: d3bc627b3d63536d6544ffac6456ec2c5c103502e85021b5dfc90f3d3fb2b221
Contents?: true
Size: 463 Bytes
Versions: 1
Compression:
Stored size: 463 Bytes
Contents
module EventbriteSDK class User < Resource resource_path 'users/:id' # 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 schema_definition do string 'name' string 'first_name' string 'last_name' string 'emails' string 'image_id' end def self.me new('id' => 'me') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eventbrite_sdk-3.6.0 | lib/eventbrite_sdk/user.rb |