lib/tickethub/supplier.rb in tickethub-0.3.15 vs lib/tickethub/supplier.rb in tickethub-0.3.16
- old
+ new
@@ -26,12 +26,14 @@
require_relative 'supplier/fee'
require_relative 'supplier/message'
require_relative 'supplier/charge'
require_relative 'supplier/import'
require_relative 'supplier/broadcast'
+ require_relative 'supplier/widget'
require_relative 'contact'
+ require_relative 'address'
require_relative 'token'
collection :bills, Bill
collection :customers, Customer
collection :orders, Order
@@ -57,10 +59,12 @@
collection :fees, Fee
collection :messages, Message
collection :charges, Charge
collection :imports, Import
collection :broadcasts, Broadcast
+ collection :widgets, Widget
+ association :address, Tickethub::Address
association :contact, Tickethub::Contact
association :token, Tickethub::Token
attribute :country, type: :country
attribute :currency, type: :currency
\ No newline at end of file