Class: One45::Events

Inherits:
Base
  • Object
show all
Defined in:
lib/one45/events.rb

Class Method Summary collapse

Methods inherited from Base

find, list

Class Method Details

.academic_half_day_attendees(id) ⇒ Object



16
17
18
19
# File 'lib/one45/events.rb', line 16

def self.academic_half_day_attendees(id)
  url = "#{resource_url}/ahd/#{id}/attendees"
  One45.get url
end

.academic_half_day_event(id) ⇒ Object



10
11
12
13
# File 'lib/one45/events.rb', line 10

def self.academic_half_day_event(id)
  url = "#{resource_url}/ahd/#{id}"
  One45.get url
end

.academic_half_day_events(options = {}) ⇒ Object



4
5
6
7
# File 'lib/one45/events.rb', line 4

def self.academic_half_day_events(options = {})
  url = "#{resource_url}/ahd"
  One45.get url
end

.curriculum_event(id) ⇒ Object



27
28
29
30
# File 'lib/one45/events.rb', line 27

def self.curriculum_event(id)
  url = "#{resource_url}/curriculum/#{id}"
  One45.get url
end

.curriculum_event_attendees(id) ⇒ Object



32
33
34
35
# File 'lib/one45/events.rb', line 32

def self.curriculum_event_attendees(id)
  url = "#{resource_url}/curriculum/#{id}/attendees"
  One45.get url
end

.curriculum_event_children(id) ⇒ Object



37
38
39
40
# File 'lib/one45/events.rb', line 37

def self.curriculum_event_children(id)
  url = "#{resource_url}/curriculum/#{id}/children"
  One45.get url
end

.curriculum_events(options = {}) ⇒ Object



22
23
24
25
# File 'lib/one45/events.rb', line 22

def self.curriculum_events(options = {})
  url = "#{resource_url}/curriculum"
  One45.get url
end

.rotation_attendees(id) ⇒ Object



52
53
54
55
# File 'lib/one45/events.rb', line 52

def self.rotation_attendees(id)
  url = "#{resource_url}/rotation/#{id}/attendees"
  One45.get url
end

.rotation_event(id) ⇒ Object



47
48
49
50
# File 'lib/one45/events.rb', line 47

def self.rotation_event(id)
  url = "#{resource_url}/rotation/#{id}"
  One45.get url
end

.rotation_events(options = {}) ⇒ Object



42
43
44
45
# File 'lib/one45/events.rb', line 42

def self.rotation_events(options = {})
  url = "#{resource_url}/rotation"
  One45.get url
end