lib/tickethub/supplier/product.rb in tickethub-0.0.12 vs lib/tickethub/supplier/product.rb in tickethub-0.0.14
- old
+ new
@@ -45,9 +45,12 @@
association :address, Tickethub::Address
attribute :time_zone, type: :timezone
attribute :currency, type: :currency
+ attribute :created_at, type: :datetime
+ attribute :updated_at, type: :datetime
+
def resellers
Collection.new @endpoint['/supplier/resellers'], Supplier::Reseller, filters: { products: [id] }
end
def settings
\ No newline at end of file