lib/tickethub/supplier/scan.rb in tickethub-0.3.4 vs lib/tickethub/supplier/scan.rb in tickethub-0.3.6
- old
+ new
@@ -2,13 +2,13 @@
module Tickethub
class Supplier::Scan < Resource
path '/supplier/scans'
- require_relative 'scan'
+ require_relative 'ticket'
require_relative 'user'
- association :scan, Supplier::Scan
+ collection :tickets, Supplier::Ticket
association :user, Supplier::User
attribute :at, type: :datetime
attribute :updated_at, type: :datetime
attribute :created_at, type: :datetime
\ No newline at end of file