Sha256: 62e9716cf6712a0f4b0552f7d198570d715760d79888b62254206a0cd3dffab1
Contents?: true
Size: 779 Bytes
Versions: 38
Compression:
Stored size: 779 Bytes
Contents
module Fog module Slicehost class Real require 'fog/slicehost/parsers/get_backups' # Get list of backups # # ==== Returns # * response<~Excon::Response>: # * body<~Array>: # * 'date'<~Time> - Timestamp of backup creation # * 'id'<~Integer> - Id of the backup # * 'name'<~String> - Name of the backup # * 'slice-id'<~Integer> - Id of slice the backup was made from def get_backups request( :expects => 200, :method => 'GET', :parser => Fog::Parsers::Slicehost::GetBackups.new, :path => 'backups.xml' ) end end class Mock def get_backups Fog::Mock.not_implemented end end end end
Version data entries
38 entries across 38 versions & 2 rubygems