Sha256: 7481243617bd61e79ff6d03b168d2365af1fb980c3b853bb574116a70273293e
Contents?: true
Size: 517 Bytes
Versions: 7
Compression:
Stored size: 517 Bytes
Contents
require "fog/core/collection" require "fog/brightbox/models/compute/api_client" module Fog module Compute class Brightbox class ApiClients < Fog::Collection model Fog::Compute::Brightbox::ApiClient def all data = connection.list_api_clients load(data) end def get(identifier = nil) data = connection.get_api_client(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
7 entries across 7 versions & 5 rubygems