lib/geo_certs/endpoints/events.rb in geocerts-0.0.13 vs lib/geo_certs/endpoints/events.rb in geocerts-0.0.14
- old
+ new
@@ -16,11 +16,11 @@
attribute 'start_at', :as => :start_at, :type => DateTime
attribute 'end_at', :as => :end_at, :type => DateTime
elements :event do
element 'event-id', :as => :id, :type => Integer
- element 'order-id', :as => :order_id, :type => Integer
+ element 'order-id', :as => :order_id
element :name
element 'created-at', :as => :created_at, :type => DateTime
end
end
end
@@ -35,10 +35,10 @@
attribute 'start_at', :as => :start_at, :type => DateTime
attribute 'end_at', :as => :end_at, :type => DateTime
elements :event do
element 'event-id', :as => :id, :type => Integer
- element 'order-id', :as => :order_id, :type => Integer
+ element 'order-id', :as => :order_id
element :name
element 'created-at', :as => :created_at, :type => DateTime
end
end
end