Sha256: 61536006d9ee9f18e1dd3496112051705686cd37c51911e0d40b69f9a0392b2e

Contents?: true

Size: 552 Bytes

Versions: 4

Compression:

Stored size: 552 Bytes

Contents

module Yammer
  class Message < Yammer::Base

    attr_accessor_deffered :direct_message, :privacy, :group_id, :created_at,
    :attachments, :liked_by, :chat_client_sequence, :client_url, :content_excerpt,
    :message_type, :url, :web_url, :network_id, :system_message, :client_type, 
    :sender_type, :sender_id, :thread_id, :conversation_id, :replied_to_id, :body

    attr_reader :replied_to_id

    # Creates a new message
    # @!scope class
    def self.create(body, params={})
      api_handler.create_message(body, params)
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yammer-client-0.1.8 lib/yammer/message.rb
yammer-client-0.1.7 lib/yammer/message.rb
yammer-client-0.1.6 lib/yammer/message.rb
yammer-client-0.1.5 lib/yammer/message.rb