Class: TheCity::Role
Constant Summary collapse
- GroupTypes =
{:cg => 'CG', :service => 'Service', :campus => 'Campus'}
- Titles =
{:leader => 'Leader', :manager => 'Manager', :volunteer => 'Volunteer', :participant => 'Participant'}
Instance Attribute Summary
Attributes inherited from ApiObject
#error_messages, #marked_for_destruction
Instance Method Summary collapse
- #delete ⇒ Object
-
#initialize(json_data) ⇒ Role
constructor
Constructor.
- #save ⇒ Object
Methods inherited from ApiObject
__tc_attributes, #initialize_from_json_object, #is_deleted?, #set_attributes, tc_attr_accessor, #to_attributes
Constructor Details
Instance Method Details
#delete ⇒ Object
37 38 39 |
# File 'lib/api/role.rb', line 37 def delete raise 'Role does not have a delete method' end |
#save ⇒ Object
33 34 35 |
# File 'lib/api/role.rb', line 33 def save raise 'Role does not have a save method' end |