Class: Springnote::Page
- Inherits:
-
Resource
- Object
- RestClient::Resource
- Resource
- Springnote::Page
- Defined in:
- lib/springnote_client.rb
Constant Summary
Constants inherited from Resource
Instance Attribute Summary
Attributes inherited from Resource
Attributes inherited from RestClient::Resource
Class Method Summary collapse
Methods inherited from Resource
build, collection_url, element_url, #element_url, find, find_one, find_some, #inspect, #method_missing, new_resource, #save, #singular_name, #to_s
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Springnote::Resource
Class Method Details
.collection_name ⇒ Object
43 44 45 |
# File 'lib/springnote_client.rb', line 43 def self.collection_name 'pages' end |
.singular_name ⇒ Object
39 40 41 |
# File 'lib/springnote_client.rb', line 39 def self.singular_name 'page' end |