class Fog::Compute::Ecloud::Location

Public Instance Methods

catalog(org_href) click to toggle source
# File lib/fog/compute/ecloud/models/location.rb, line 12
def catalog(org_href)
  @catalog ||= Fog::Compute::Ecloud::Catalog.new(:service => service, :href => "#{service.base_path}/admin/catalog/organizations/#{org_href.scan(/\d+/)[0]}/locations/#{id}")
end
id() click to toggle source
# File lib/fog/compute/ecloud/models/location.rb, line 16
def id
  href.scan(/\d+/)[0]
end
reload() click to toggle source
Calls superclass method Fog::Ecloud::Model#reload
# File lib/fog/compute/ecloud/models/location.rb, line 20
def reload
  @catalog = nil
  super
end