Class: OnSIP::Organization
- Inherits:
-
Object
- Object
- OnSIP::Organization
- Extended by:
- ClassMethods
- Includes:
- Model
- Defined in:
- lib/onsip/models/organization.rb
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary
Attributes included from Model
Instance Method Summary collapse
Methods included from ClassMethods
browse, process_browse_organization_response, process_read_organization_response, read
Methods included from Model
Instance Method Details
#add_user(attrs = {}) ⇒ Object
9 10 11 |
# File 'lib/onsip/models/organization.rb', line 9 def add_user(attrs = {}) User.add self, attrs end |
#id ⇒ Object
5 6 7 |
# File 'lib/onsip/models/organization.rb', line 5 def id @attributes.OrganizationId end |