Sha256: 4a8d4b3c2da90bb72f49f469d0a25d56090ec35560b3dc7dc5ee06ad8dc491e1

Contents?: true

Size: 274 Bytes

Versions: 9

Compression:

Stored size: 274 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Weather < Resource
    path '/supplier/weather'

    require_relative 'product'

    association :product, Supplier::Product

    attribute :from, type: :datetime
    attribute :to, type: :datetime
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tickethub-0.3.100 lib/tickethub/supplier/weather.rb
tickethub-0.3.99 lib/tickethub/supplier/weather.rb
tickethub-0.3.98 lib/tickethub/supplier/weather.rb
tickethub-0.3.97 lib/tickethub/supplier/weather.rb
tickethub-0.3.96 lib/tickethub/supplier/weather.rb
tickethub-0.3.95 lib/tickethub/supplier/weather.rb
tickethub-0.3.94 lib/tickethub/supplier/weather.rb
tickethub-0.3.93 lib/tickethub/supplier/weather.rb
tickethub-0.3.92 lib/tickethub/supplier/weather.rb