Sha256: 5aebc820d797641104c4f41a543bfa20bd6a5f751e56563434c5ba3774ed479d

Contents?: true

Size: 299 Bytes

Versions: 5

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

module MyTankInfo
  class LineLeakResultsResource < Resource
    def list(site_id:, **params)
      response = get_request("api/environmental/sites/#{site_id}/lineleaks", params: params)
      Collection.from_response(response, type: LineLeakResult)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
my_tank_info-1.1.1 lib/my_tank_info/resources/line_leak_results.rb
my_tank_info-1.1.0 lib/my_tank_info/resources/line_leak_results.rb
my_tank_info-1.0.2 lib/my_tank_info/resources/line_leak_results.rb
my_tank_info-1.0.1 lib/my_tank_info/resources/line_leak_results.rb
my_tank_info-1.0.0 lib/my_tank_info/resources/line_leak_results.rb