Class: FetchAPI::Download
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 downloads or the specified ID.
Methods inherited from Base
Constructor Details
This class inherits a constructor from FetchAPI::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FetchAPI::Base
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
3 4 5 |
# File 'lib/fetchapi/download.rb', line 3 def attributes @attributes end |
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/fetchapi/download.rb', line 3 def id @id end |
Class Method Details
.find(selector, params = {}) ⇒ Object
Find :all downloads or the specified ID
6 7 8 |
# File 'lib/fetchapi/download.rb', line 6 def self.find(selector, params={}) super(selector, params={}) end |