Sha256: 19c0f848db3560800a7a9a332f8179fa85a99e3af64db3de5e995e583e3a23d5
Contents?: true
Size: 520 Bytes
Versions: 4
Compression:
Stored size: 520 Bytes
Contents
require "fog/core/collection" require "fog/brightbox/models/compute/load_balancer" module Fog module Compute class Brightbox class LoadBalancers < Fog::Collection model Fog::Compute::Brightbox::LoadBalancer def all data = service.list_load_balancers load(data) end def get(identifier) data = service.get_load_balancer(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems