Sha256: 50631602471d8c5ed527f5e9eb895781a7ef85cfa470bca668f3ee4235740c9e

Contents?: true

Size: 306 Bytes

Versions: 50

Compression:

Stored size: 306 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Channel::Option < Resource
    path '/channel/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

50 entries across 50 versions & 1 rubygems

Version Path
tickethub-0.3.58 lib/tickethub/channel/option.rb
tickethub-0.3.57 lib/tickethub/channel/option.rb
tickethub-0.3.55 lib/tickethub/channel/option.rb
tickethub-0.3.54 lib/tickethub/channel/option.rb
tickethub-0.3.53 lib/tickethub/channel/option.rb
tickethub-0.3.52 lib/tickethub/channel/option.rb
tickethub-0.3.51 lib/tickethub/channel/option.rb
tickethub-0.3.50 lib/tickethub/channel/option.rb
tickethub-0.3.49 lib/tickethub/channel/option.rb
tickethub-0.3.47 lib/tickethub/channel/option.rb