Class: Yammer::Resources::Message

Inherits:
Base
  • Object
show all
Defined in:
lib/yammer/resources/message.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs, #id

Class Method Summary collapse

Methods inherited from Base

#api_handler, attr_accessor_deffered, base_name, #base_name, #changes, #delete!, fetch, get, identity_map, #initialize, #load!, #load_deferred_attribute!, #loaded?, model_attributes, #modified?, #new_record?, #persisted?, #reload!, #save, #update

Methods included from ApiHandler

#api_handler, #establish_api_handler

Constructor Details

This class inherits a constructor from Yammer::Resources::Base

Instance Attribute Details

#replied_to_idObject (readonly)

Returns the value of attribute replied_to_id


25
26
27
# File 'lib/yammer/resources/message.rb', line 25

def replied_to_id
  @replied_to_id
end

Class Method Details

.create(body, params = {}) ⇒ Object

Creates a new message


29
30
31
# File 'lib/yammer/resources/message.rb', line 29

def self.create(body, params={})
  api_handler.create_message(body, params)
end