Class: Podio::ApplicationEmail
- Inherits:
-
ActivePodio::Base
- Object
- ActivePodio::Base
- Podio::ApplicationEmail
- Includes:
- ActivePodio::Updatable
- Defined in:
- lib/podio/models/application_email.rb
Overview
Instance Attribute Summary
Attributes inherited from ActivePodio::Base
Class Method Summary collapse
Methods included from ActivePodio::Updatable
#remove_nil_values, #update_attributes
Methods inherited from ActivePodio::Base
#==, #[], #[]=, #api_friendly_ref_type, #as_json, collection, delegate_to_hash, has_many, has_one, #hash, #initialize, #initialize_attributes, klass_from_string, list, member, #new_record?, output_attribute_as_json, #parent_model, #persisted?, property, #to_param
Constructor Details
This class inherits a constructor from ActivePodio::Base
Class Method Details
.get_app_configuration(app_id) ⇒ Object
10 11 12 13 14 |
# File 'lib/podio/models/application_email.rb', line 10 def get_app_configuration(app_id) member Podio.connection.get { |req| req.url("/email/app/#{app_id}", {}) }.body end |
.update_app_configuration(app_id, options) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/podio/models/application_email.rb', line 17 def update_app_configuration(app_id, ) Podio.connection.put { |req| req.url "/email/app/#{app_id}" req.body = }.body end |