Method: Fog::Compute::Brightbox::Accounts#get
- Defined in:
- lib/fog/brightbox/models/compute/accounts.rb
#get(identifier) ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/fog/brightbox/models/compute/accounts.rb', line 17 def get(identifier) return nil if identifier.nil? || identifier == "" data = connection.get_account(identifier) new(data) rescue Excon::Errors::NotFound nil end |