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
Instance Method Summary collapse
Methods included from ActivePodio::Updatable
#remove_nil_values, #update_attributes
Methods inherited from Profile
all, create_space_contact, delete_contact, find, find_all_for_linked_account, find_all_for_org, find_all_for_space, find_all_for_users, find_for_org, find_for_user, skills, totals_by_org, totals_by_org_and_space, totals_by_space_v2, update_contact, vcard
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
Instance Method Details
#save ⇒ Object
11 12 13 |
# File 'lib/podio/models/organization_contact.rb', line 11 def save Organization.update_billing_profile(id, self.attributes) end |