lib/tickethub/supplier/product.rb in tickethub-0.0.9 vs lib/tickethub/supplier/product.rb in tickethub-0.0.10
- old
+ new
@@ -48,7 +48,11 @@
attribute :currency, type: :currency
def resellers
Collection.new @endpoint['/supplier/resellers'], Supplier::Reseller, filters: { products: [id] }
end
+
+ def settings
+ @endpoint[:settings].get.decoded
+ end
end
end
\ No newline at end of file