Class: Mogli::Post
Instance Attribute Summary
Attributes inherited from Model
Attributes included from Model::Search
Instance Method Summary collapse
Methods inherited from Model
add_creation_method, #client, #client=, creation_keys, creation_properties, define_properties, #destroy, #fetch, find, has_association, hash_populating_accessor, included, #initialize, #method_missing, #post_params, recognize?, #warn_about_invalid_property
Methods included from Model::Search
Constructor Details
This class inherits a constructor from Mogli::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Mogli::Model
Instance Method Details
#likes_create ⇒ Object
16 17 18 |
# File 'lib/mogli/post.rb', line 16 def likes_create client.post("#{id}/likes",nil,{}) end |