Class: Podio::AppStoreCategory
- Inherits:
-
ActivePodio::Base
- Object
- ActivePodio::Base
- Podio::AppStoreCategory
- Defined in:
- lib/podio/models/app_store_category.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(category_id) ⇒ Object
10 11 12 |
# File 'lib/podio/models/app_store_category.rb', line 10 def find(category_id) member Podio.connection.get("/app_store/category/#{category_id}").body end |
.find_all ⇒ Object
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/podio/models/app_store_category.rb', line 14 def find_all categories = Podio.connection.get("/app_store/category/").body categories.each do | key, value | categories[key] = list value end categories end |