Sha256: ea50336487b1f5f645dd225e6b1e2bb83b3db6332eca47a5072a2d8986218c9d

Contents?: true

Size: 349 Bytes

Versions: 5

Compression:

Stored size: 349 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Reseller::Option < Resource
    path '/reseller/options'

    scope :dates, -> (params) { @endpoint[:dates].get(params).decoded }

    attribute :date_time, type: :datetime

    attribute :time, type: :time
    attribute :total, type: :money
    attribute :currency, type: :currency
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tickethub-0.3.40 lib/tickethub/reseller/option.rb
tickethub-0.3.39 lib/tickethub/reseller/option.rb
tickethub-0.3.38 lib/tickethub/reseller/option.rb
tickethub-0.3.37 lib/tickethub/reseller/option.rb
tickethub-0.3.36 lib/tickethub/reseller/option.rb