Class: EventBright::Organizer

Inherits:
ApiObject show all
Defined in:
lib/eventbright/api_objects/organizer.rb

Instance Attribute Summary

Attributes inherited from ApiObject

#attributes, #collections, #dirty, #dirty_collections, #dirty_relations, #id, #owner, #relations

Instance Method Summary collapse

Methods inherited from ApiObject

#after_attribute_set, #after_load, #after_save, #after_update, #api_hash, #attribute_get, #attribute_set, #before_save, #clean!, #dirty?, #get_hash, #init, #init_with_hash, #initialize, #inspect, #load, #load!, #loaded?, #nested_hash, #new_hash, #preinit, #prep_api_hash, #save, #to_s, #updatable_hash, #update_hash

Methods included from ApiObjectClassMethods

#collection, #collections, #has, #ignores, #plural_name, #readable, #readable_date, #reformats, #relations, #remap, #renames, #requires, #singlet_name, #updatable, #updatable_date

Methods included from ApiObjectRelationships

#collection_clean!, #collection_dirty!, #collection_dirty?, #collection_get, #collection_set, #collections_save, #load_collections_with_hash, #load_relations_with_hash, #relation_clean!, #relation_dirty!, #relation_dirty?, #relation_get, #relation_set, #relations_save

Constructor Details

This class inherits a constructor from EventBright::ApiObject

Instance Method Details

#after_newObject



15
16
17
# File 'lib/eventbright/api_objects/organizer.rb', line 15

def after_new
  @owner.dirty_organizers!
end

#unnest_child_response(response) ⇒ Object



20
21
22
# File 'lib/eventbright/api_objects/organizer.rb', line 20

def unnest_child_response(response)
  response
end