class Fog::Account::Softlayer::Brands
Public Instance Methods
all()
click to toggle source
# File lib/fog/softlayer/models/account/brands.rb, line 16 def all data = service.get_account_owned_brands load(data) end
get(identifier)
click to toggle source
# File lib/fog/softlayer/models/account/brands.rb, line 21 def get(identifier) return nil if identifier.nil? || identifier == "" data = service.get_brand(identifier).body new.merge_attributes(data) rescue Excon::Errors::NotFound nil end