Class: FetchAppAPI::File
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#id ⇒ Object
Returns the value of attribute id.
Class Method Summary collapse
-
.find(selector, params = {}) ⇒ Object
Find :all files or the specified ID.
Methods inherited from Base
basic_auth, can_connect?, #initialize, key, time
Constructor Details
This class inherits a constructor from FetchAppAPI::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FetchAppAPI::Base
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
3 4 5 |
# File 'lib/fetchapp-api-ruby/file.rb', line 3 def attributes @attributes end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/fetchapp-api-ruby/file.rb', line 3 def id @id end |
Class Method Details
.find(selector, params = {}) ⇒ Object
Find :all files or the specified ID
6 7 8 |
# File 'lib/fetchapp-api-ruby/file.rb', line 6 def self.find(selector, params={}) super(selector, params) end |