Sha256: 6441f4d7b72ecbef90fb07d8743baa1d9269b0882ae30a988c376b1a4caf7a3c
Contents?: true
Size: 580 Bytes
Versions: 13
Compression:
Stored size: 580 Bytes
Contents
require_relative '../resource' module Tickethub class Supplier::Option < Resource path '/supplier/options' scope :dates, -> (params) { @endpoint[:dates].get(params).decoded } scope :active require_relative 'ticket' require_relative 'season' require_relative 'user' association :season, Supplier::Season association :user, Supplier::User collection :tickets, Supplier::Ticket attribute :date_time, type: :datetime attribute :time, type: :time attribute :total, type: :money attribute :currency, type: :currency end end
Version data entries
13 entries across 13 versions & 1 rubygems