Sha256: 7e83254fb06af26cf6ff3bbdbab930c1c5db9cd216c9f9da6529ea18d7c5b322

Contents?: true

Size: 299 Bytes

Versions: 5

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

module MyTankInfo
  class TankLeakResultsResource < Resource
    def list(site_id:, **params)
      response = get_request("api/environmental/sites/#{site_id}/tankleaks", params: params)
      Collection.from_response(response, type: TankLeakResult)
    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/tank_leak_results.rb
my_tank_info-1.1.0 lib/my_tank_info/resources/tank_leak_results.rb
my_tank_info-1.0.2 lib/my_tank_info/resources/tank_leak_results.rb
my_tank_info-1.0.1 lib/my_tank_info/resources/tank_leak_results.rb
my_tank_info-1.0.0 lib/my_tank_info/resources/tank_leak_results.rb