Class: Fog::Compute::Packet::SpotMarketPrices
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::Packet::SpotMarketPrices
- Defined in:
- lib/fog/compute/packet/models/spot_market_prices.rb
Overview
Volumes
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
10 11 12 13 |
# File 'lib/fog/compute/packet/models/spot_market_prices.rb', line 10 def all response = service.list_spotmarketprices new(response.body) end |
#get(facility, plan) ⇒ Object
15 16 17 18 |
# File 'lib/fog/compute/packet/models/spot_market_prices.rb', line 15 def get(facility, plan) response = service.list_spotmarketprices_history(facility, plan) new(response.body) end |