Sha256: 8ef4112060501e96ef671d4b6e89d0b83b6148bc777616e31303494906740b75

Contents?: true

Size: 394 Bytes

Versions: 4

Compression:

Stored size: 394 Bytes

Contents

module Sections
  def get_all_sections(options = {})
    options.merge!(basic_auth: @auth, headers: @headers)
    response = self.class.get(base_api_endpoint('ReferenceData/Sections'), options)
  end

  def get_section(id, options = {})
    options.merge!(basic_auth: @auth, headers: @headers)
    response = self.class.get(base_api_endpoint("ReferenceData/Sections/#{id}"), options)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tessitura_rest-2.1.6 lib/tessitura_rest/reference_data/sections.rb
tessitura_rest-2.1.5 lib/tessitura_rest/reference_data/sections.rb
tessitura_rest-2.1.4 lib/tessitura_rest/reference_data/sections.rb
tessitura_rest-2.1.3 lib/tessitura_rest/reference_data/sections.rb