Sha256: d4db565866b14895f7c17bab352eb4f2146b229f3b34fc7b42608b04a1052a60

Contents?: true

Size: 478 Bytes

Versions: 30

Compression:

Stored size: 478 Bytes

Contents

require_relative '../resource'

module Tickethub
  class Supplier::Message < Resource
    path '/supplier/messages'

    require_relative 'user'
    require_relative 'message/email'
    require_relative 'message/sms'
    require_relative '../contact'

    association :user, Supplier::User
    association :contact, Tickethub::Contact
    association :customer, Supplier::Customer

    attribute :created_at, type: :datetime

    collection :replies, Supplier::Message
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
tickethub-0.3.7 lib/tickethub/supplier/message.rb
tickethub-0.3.6 lib/tickethub/supplier/message.rb
tickethub-0.3.4 lib/tickethub/supplier/message.rb
tickethub-0.3.3 lib/tickethub/supplier/message.rb
tickethub-0.3.2 lib/tickethub/supplier/message.rb
tickethub-0.3.1 lib/tickethub/supplier/message.rb
tickethub-0.3.0 lib/tickethub/supplier/message.rb
tickethub-0.2.18 lib/tickethub/supplier/message.rb
tickethub-0.2.17 lib/tickethub/supplier/message.rb
tickethub-0.2.15 lib/tickethub/supplier/message.rb
tickethub-0.2.14 lib/tickethub/supplier/message.rb
tickethub-0.2.13 lib/tickethub/supplier/message.rb
tickethub-0.2.12 lib/tickethub/supplier/message.rb
tickethub-0.2.11 lib/tickethub/supplier/message.rb
tickethub-0.2.10 lib/tickethub/supplier/message.rb
tickethub-0.2.9 lib/tickethub/supplier/message.rb
tickethub-0.2.8 lib/tickethub/supplier/message.rb
tickethub-0.2.7 lib/tickethub/supplier/message.rb
tickethub-0.2.6 lib/tickethub/supplier/message.rb
tickethub-0.2.5 lib/tickethub/supplier/message.rb