Class: Springnote::Attachment

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, #delete, element_url, #element_url, find, find_all, find_multi, find_one, find_some, #identifier=, #inspect, #method_missing, new_resource, #save, search, #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



58
# File 'lib/springnote_client.rb', line 58

def self.collection_name; 'attachments' end

.singular_nameObject



57
# File 'lib/springnote_client.rb', line 57

def self.singular_name;   'attachment'  end