Sha256: 51cff93f2a004cd3fc9913e9dae9ac81ece3677678b9cb7c350e3d6d808b1fd4
Contents?: true
Size: 617 Bytes
Versions: 15
Compression:
Stored size: 617 Bytes
Contents
module Fog module Compute class Vsphere class Tickets < Fog::Collection autoload :Ticket, File.expand_path('../ticket', __FILE__) model Fog::Compute::Vsphere::Ticket attr_accessor :server def create(opts = {}) requires :server raise 'server must be a Fog::Compute::Vsphere::Server' unless server.is_a?(Fog::Compute::Vsphere::Server) new( service.vm_acquire_ticket( opts.merge( 'instance_uuid' => server.instance_uuid ) ) ) end end end end end
Version data entries
15 entries across 13 versions & 2 rubygems