Module: Knodes::Client::Schools
- Included in:
- Knodes::Client
- Defined in:
- lib/knodes/client/schools.rb
Instance Method Summary collapse
- #school(options = {}) ⇒ Object
- #school_people(options = {}) ⇒ Object
- #schools_search(options = {}) ⇒ Object
Instance Method Details
#school(options = {}) ⇒ Object
4 5 6 |
# File 'lib/knodes/client/schools.rb', line 4 def school(={}) response = get("schools/#{options[:school_id]}", .merge(creds)) end |
#school_people(options = {}) ⇒ Object
12 13 14 |
# File 'lib/knodes/client/schools.rb', line 12 def school_people(={}) response = get("schools/#{options[:school_id]}/people", .merge(creds)) end |
#schools_search(options = {}) ⇒ Object
8 9 10 |
# File 'lib/knodes/client/schools.rb', line 8 def schools_search(={}) response = get("schools/search", .merge(creds)) end |