Class: TheCity::GroupRole

Inherits:
ApiObject show all
Defined in:
lib/api/group_role.rb

Instance Attribute Summary

Attributes inherited from ApiObject

#error_messages, #marked_for_destruction

Instance Method Summary collapse

Methods inherited from ApiObject

__tc_attributes, #delete, #initialize_from_json_object, #is_deleted?, #save, #set_attributes, tc_attr_accessor, #to_attributes

Constructor Details

#initialize(json_data) ⇒ GroupRole

Constructor.

Parameters:

  • json_data

    JSON data of the group role.



19
20
21
# File 'lib/api/group_role.rb', line 19

def initialize(json_data)
  initialize_from_json_object(json_data)
end