Sha256: 7a643a14aaa79279d6f7f722d4bceb9e38967b09b68556ae199f4e504684429a
Contents?: true
Size: 604 Bytes
Versions: 6
Compression:
Stored size: 604 Bytes
Contents
require File.expand_path("../server_configuration_option", __FILE__) module Fog module Compute class Ecloud class ServerConfigurationOptions < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::ServerConfigurationOption def all data = service.get_server_configuration_options(href).body load(data) end def get(uri) if data = service.get_server_configuration_option(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems