Module: Sections
- Included in:
- TessituraRest
- Defined in:
- lib/tessitura_rest/reference_data/sections.rb
Instance Method Summary collapse
Instance Method Details
#get_all_sections(options = {}) ⇒ Object
2 3 4 5 |
# File 'lib/tessitura_rest/reference_data/sections.rb', line 2 def get_all_sections( = {}) .merge!(basic_auth: @auth, headers: @headers) response = self.class.get(base_api_endpoint('ReferenceData/Sections'), ) end |
#get_section(id, options = {}) ⇒ Object
7 8 9 10 |
# File 'lib/tessitura_rest/reference_data/sections.rb', line 7 def get_section(id, = {}) .merge!(basic_auth: @auth, headers: @headers) response = self.class.get(base_api_endpoint("ReferenceData/Sections/#{id}"), ) end |