Module: AttendanceClient::ServiceConfiguration

Included in:
TimeSlot, TrialLesson
Defined in:
lib/attendance_client/service_configuration.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


3
4
5
6
7
8
9
# File 'lib/attendance_client/service_configuration.rb', line 3

def self.included(base)
  base.send('use_hydra', HYDRA)

  base.send('configure_index_response', {collection: 'collection', total: 'total'})

  base.send('set_api_key','app_key',APP_KEY)
end