Class: Springnote::Page

Inherits:
Resource show all
Defined in:
lib/springnote_client.rb

Constant Summary

Constants inherited from Resource

Resource::XML

Instance Attribute Summary

Attributes inherited from Resource

#hash, #holder

Attributes inherited from RestClient::Resource

#url

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_nameObject



43
44
45
# File 'lib/springnote_client.rb', line 43

def self.collection_name
  'pages'
end

.singular_nameObject



39
40
41
# File 'lib/springnote_client.rb', line 39

def self.singular_name
  'page'
end