Class: Podio::Batch
- Inherits:
-
ActivePodio::Base
- Object
- ActivePodio::Base
- Podio::Batch
- Defined in:
- lib/podio/models/batch.rb
Instance Attribute Summary
Attributes inherited from ActivePodio::Base
#attributes, #error_code, #error_message, #error_parameters, #error_propagate
Class Method Summary collapse
Methods inherited from ActivePodio::Base
#==, #[], #[]=, #api_friendly_ref_type, #as_json, collection, delegate_to_hash, handle_api_errors_for, has_many, has_one, #hash, #initialize, #initialize_attributes, list, member, #new_record?, output_attribute_as_json, #persisted?, property, #to_param
Constructor Details
This class inherits a constructor from ActivePodio::Base
Class Method Details
.find(id) ⇒ Object
20 21 22 |
# File 'lib/podio/models/batch.rb', line 20 def find(id) member Podio.connection.get("/batch/#{id}").body end |
.find_all(options = {}) ⇒ Object
24 25 26 27 28 |
# File 'lib/podio/models/batch.rb', line 24 def find_all(={}) list Podio.connection.get { |req| req.url("/batch/", ) }.body end |