Sha256: 113cc042ed84a4e766034b9be10d904f05154684fa7934ecb553e30a99eb381d
Contents?: true
Size: 455 Bytes
Versions: 66
Compression:
Stored size: 455 Bytes
Contents
require_relative '../resource' module Tickethub class Supplier::Season < Resource path '/supplier/seasons' require_relative 'option' require_relative 'product' collection :options, Supplier::Option association :product, Supplier::Product attribute :starts_on, type: :date attribute :ends_on, type: :date def duplicate(params = {}) self.class.call @endpoint, @endpoint[:duplicate].post(params) end end end
Version data entries
66 entries across 66 versions & 1 rubygems