Sha256: bd5934fc1d91ab99cb928f553bb714462397ec8f45d5215ce04fe71f3be4ba85

Contents?: true

Size: 294 Bytes

Versions: 5

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

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