Sha256: aa106285f2d67cec08b4cbf8fb338b3bac8aacb9e71534ec955cef8a41568f37
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 Bytes
Contents
require_relative 'server_appliance' module Fog module Compute class OneAndOne class ServerAppliances < Fog::Collection model Fog::Compute::OneAndOne::ServerAppliance def all response = service.list_server_appliances load(response.body) end def get(id) response = service.get_server_appliance(id) new(response.body) rescue Excon::Errors::NotFound nil end end # ServerAppliances end # OneAndOne end # Compute end # Fog
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-oneandone-1.2 | lib/oneandone/models/compute/server_appliances.rb |