Class/Module Index [+]

Quicksearch

Fog::Terremark::Shared::Common

Commond methods shared by Real and Mock

Public Instance Methods

default_organization_id() click to toggle source
# File lib/fog/terremark/shared.rb, line 8
def default_organization_id
  @default_organization_id ||= begin
    org_list = get_organizations.body['OrgList']
    if org_list.length == 1
      org_list.first['href'].split('/').last.to_i
    else
      nil
    end
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.