Sha256: 46e93ecae61065b41d490b5b22cead0dc1a45d5a3d2c4278060013294a7e3316
Contents?: true
Size: 454 Bytes
Versions: 11
Compression:
Stored size: 454 Bytes
Contents
require 'fog/core/collection' require 'fog/serverlove/models/compute/server' module Fog module Compute class Serverlove class Servers < Fog::Collection model Fog::Compute::Serverlove::Server def all data = connection.get_servers.body load(data) end def get(server_id) data = connection.get_server(server_id).body new(data) end end end end end
Version data entries
11 entries across 11 versions & 7 rubygems