Class: Podio::OrganizationContact
- Inherits:
-
Profile
- Object
- ActivePodio::Base
- Profile
- Podio::OrganizationContact
- Includes:
- ActivePodio::Updatable
- Defined in:
- lib/podio/models/organization_contact.rb
Overview
Encapsulates a primary contact for an organization, primarily used for billing purposes
Instance Attribute Summary
Attributes inherited from ActivePodio::Base
#attributes, #error_code, #error_message, #error_parameters, #error_propagate
Instance Method Summary collapse
Methods inherited from Profile
all, create_space_contact, delete_contact, find, find_all_for_connection, find_all_for_connection_type, find_all_for_org, find_all_for_space, find_for_org, find_for_user, skills, top, top_for_org, top_for_personal, top_for_space, totals_by_org, totals_by_org_and_space, totals_by_space, totals_by_space_v2, update_contact, vcard
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
Instance Method Details
#save ⇒ Object
10 11 12 |
# File 'lib/podio/models/organization_contact.rb', line 10 def save Organization.update_billing_profile(id, self.attributes) end |