Sha256: 41623ccc9d4c18e7a6f8af719748aac305139c586a1194fd246279a6fbea8b6b

Contents?: true

Size: 308 Bytes

Versions: 26

Compression:

Stored size: 308 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
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
tickethub-0.3.67 lib/tickethub/reseller/option.rb
tickethub-0.3.66 lib/tickethub/reseller/option.rb
tickethub-0.3.65 lib/tickethub/reseller/option.rb
tickethub-0.3.64 lib/tickethub/reseller/option.rb
tickethub-0.3.63 lib/tickethub/reseller/option.rb
tickethub-0.3.62 lib/tickethub/reseller/option.rb
tickethub-0.3.61 lib/tickethub/reseller/option.rb
tickethub-0.3.60 lib/tickethub/reseller/option.rb
tickethub-0.3.59 lib/tickethub/reseller/option.rb
tickethub-0.3.58 lib/tickethub/reseller/option.rb
tickethub-0.3.57 lib/tickethub/reseller/option.rb
tickethub-0.3.56 lib/tickethub/reseller/option.rb
tickethub-0.3.55 lib/tickethub/reseller/option.rb
tickethub-0.3.54 lib/tickethub/reseller/option.rb
tickethub-0.3.53 lib/tickethub/reseller/option.rb
tickethub-0.3.52 lib/tickethub/reseller/option.rb
tickethub-0.3.51 lib/tickethub/reseller/option.rb
tickethub-0.3.50 lib/tickethub/reseller/option.rb
tickethub-0.3.49 lib/tickethub/reseller/option.rb
tickethub-0.3.47 lib/tickethub/reseller/option.rb