Class: MaponClient::Resources::ReeferResource

Inherits:
MaponClient::Resources show all
Defined in:
lib/mapon_client/resources/reefer_resource.rb

Constant Summary

Constants inherited from MaponClient::Resources

AVAILABLE_RESOURCES

Instance Method Summary collapse

Methods inherited from MaponClient::Resources

#[], #initialize, #with_key

Constructor Details

This class inherits a constructor from MaponClient::Resources

Instance Method Details

#alert_list(params = {}) ⇒ Object



4
5
6
7
8
# File 'lib/mapon_client/resources/reefer_resource.rb', line 4

def alert_list(params = {})
  @client['reefer/alert_list'].get(
    params: with_key(params)
  )
end

#list_temperature_data(params = {}) ⇒ Object



16
17
18
19
20
# File 'lib/mapon_client/resources/reefer_resource.rb', line 16

def list_temperature_data(params = {})
  @client['reefer/list_temperature_data'].get(
    params: with_key(params)
  )
end

#runmodes(params = {}) ⇒ Object



10
11
12
13
14
# File 'lib/mapon_client/resources/reefer_resource.rb', line 10

def runmodes(params = {})
  @client['reefer/runmodes'].get(
    params: with_key(params)
  )
end