Sha256: 9be3c15ce0d2c87cad69189380d19e2a54047387bb0b88d3579b9183f6299908

Contents?: true

Size: 400 Bytes

Versions: 17

Compression:

Stored size: 400 Bytes

Contents

module MeducationSDK
  class MessageThreadContributor < Loquor::Resource
    self.path = "/message_thread_contributors"
    
    def user
      @user ||= User.find(user_id)
    end
  end

  class MessageThreadContributorMock < MessageThreadContributor
    extend Loquor::ResourceMock

    self.attributes = {
      id: 1,
      thread_id: 10,
      user_id: 20,
      has_read: false
    }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
meducation_sdk-1.4.3 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.4.2 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.4.1 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.4.0 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.3.0 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.2.6 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.2.5 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.2.4 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.2.3 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.2.2 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.2.1 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.2.0 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.1.2 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.1.1 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.1.0 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-1.0.0 lib/meducation_sdk/resources/message_thread_contributor.rb
meducation_sdk-0.10.1 lib/meducation_sdk/resources/message_thread_contributor.rb