class Fog::Compute::Packet::Snapshots
Public Instance Methods
all(volume_id, params = {})
click to toggle source
# File lib/fog/compute/packet/models/snapshots.rb, line 10 def all(volume_id, params = {}) response = service.list_snapshots(volume_id, params) load(response.body["snapshots"]) end
get(id)
click to toggle source
# File lib/fog/compute/packet/models/snapshots.rb, line 15 def get(id) response = service.get_volume(id) load(response.body) end