Class: Yammer::Resources::Message
- Defined in:
- lib/yammer/resources/message.rb
Instance Attribute Summary collapse
-
#replied_to_id ⇒ Object
readonly
Returns the value of attribute replied_to_id.
Attributes inherited from Base
Class Method Summary collapse
-
.create(body, params = {}) ⇒ Object
Creates a new message.
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_id ⇒ Object (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.(body, params) end |