Class: Podio::ApplicationEmail
- Inherits:
-
ActivePodio::Base
- Object
- ActivePodio::Base
- Podio::ApplicationEmail
- Includes:
- ActivePodio::Updatable
- Defined in:
- lib/podio/models/application_email.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, list, member, #new_record?, #persisted?, property, #to_param
Constructor Details
This class inherits a constructor from ActivePodio::Base
Class Method Details
.get_app_configuration(app_id) ⇒ Object
8 9 10 11 12 |
# File 'lib/podio/models/application_email.rb', line 8 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
14 15 16 17 18 19 |
# File 'lib/podio/models/application_email.rb', line 14 def update_app_configuration(app_id, ) Podio.connection.put { |req| req.url "/email/app/#{app_id}" req.body = }.body end |