class MyTankInfo::TankRunoutResource
Public Instance Methods
list(tank_id:)
click to toggle source
# File lib/my_tank_info/resources/tank_runout.rb, line 5 def list(tank_id:) response = get_request("api/tanks/#{tank_id}/runout") Collection.from_response(response, type: TankRunoutRecord) end