lib/eventbrite_sdk/event.rb in eventbrite_sdk-3.1.1 vs lib/eventbrite_sdk/event.rb in eventbrite_sdk-3.1.2
- old
+ new
@@ -19,17 +19,15 @@
has_many :orders, object_class: 'Order'
has_many :attendees, object_class: 'Attendee'
has_many :ticket_classes, object_class: 'TicketClass'
schema_definition do
- string 'name.html'
- string 'description.html'
+ multipart 'name'
+ multipart 'description'
string 'organizer_id'
- datetime 'start.utc'
- datetime 'start.timezone'
- datetime 'end.utc'
- datetime 'end.timezone'
+ datetime 'start'
+ datetime 'end'
boolean 'hide_start_date'
boolean 'hide_end_date'
string 'currency'
string 'venue_id'
boolean 'online_event'
@@ -43,11 +41,11 @@
string 'password'
integer 'capacity'
boolean 'show_remaining'
string 'source'
string 'status', read_only: true
- string 'created', read_only: true
- string 'changed', read_only: true
+ utc 'created', read_only: true
+ utc 'changed', read_only: true
string 'resource_uri', read_only: true
end
def self.search(params)
ResourceList.new(