Class: MaponClient::Resources::FuelResource

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

#changes(params = {}) ⇒ Object



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

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

#summary(params = {}) ⇒ Object



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

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