Class: MaponClient::Resources::TachographResource

Inherits:
MaponClient::Resources show all
Defined in:
lib/mapon_client/resources/tachograph_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

#download_ddd_driver(params = {}) ⇒ Object



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

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

#download_ddd_vehicle(params = {}) ⇒ Object



22
23
24
25
26
# File 'lib/mapon_client/resources/tachograph_resource.rb', line 22

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

#list_ddd_driver(params = {}) ⇒ Object



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

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

#list_ddd_vehicle(params = {}) ⇒ Object



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

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