class Fog::Scaleway::Compute::Bootscripts
Public Instance Methods
all()
click to toggle source
# File lib/fog/scaleway/models/compute/bootscripts.rb, line 7 def all bootscripts = service.list_bootscripts.body['bootscripts'] || [] load(bootscripts) end
get(identity)
click to toggle source
# File lib/fog/scaleway/models/compute/bootscripts.rb, line 12 def get(identity) if (bootscript = service.get_bootscript(identity).body['bootscript']) new(bootscript) end rescue Fog::Scaleway::Compute::UnknownResource nil end