Sha256: 4d8fc2929f8b35aa619c14831c1f7dc4a4e9d275350e8aef3fba439de9f05773
Contents?: true
Size: 407 Bytes
Versions: 26
Compression:
Stored size: 407 Bytes
Contents
module MeducationSDK class MessageThread < Loquor::Resource self.path = "/message_threads" def contributors @contributors ||= MessageThreadContributor.where(thread_id: id) end def messages @messages ||= Message.where(thread_id: id) end end class MessageThreadMock < MessageThread extend Loquor::ResourceMock self.attributes = { id: 1 } end end
Version data entries
26 entries across 26 versions & 1 rubygems