Sha256: 69b4366f2d226735606e7e5657a1c26f268510980a2973e2a3d15f59a710a1bd
Contents?: true
Size: 522 Bytes
Versions: 3
Compression:
Stored size: 522 Bytes
Contents
require "fog/brightbox/models/compute/account" module Fog module Compute class Brightbox class Accounts < Fog::Collection model Fog::Compute::Brightbox::Account def all data = service.list_accounts load(data) end def get(identifier) return nil if identifier.nil? || identifier == "" data = service.get_account(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
3 entries across 3 versions & 2 rubygems