lib/cfoundry/v1/client.rb in cfoundry-0.3.2 vs lib/cfoundry/v1/client.rb in cfoundry-0.3.3
- old
+ new
@@ -185,9 +185,12 @@
# and retrieval.
def app(name = nil)
App.new(name, self)
end
+ # TODO: remove once v2 allows filtering by name
+ # see V2::Client#app_by_name
+ alias :app_by_name :app
# Retrieve all of the current user's services.
def service_instances
@base.services.collect do |json|
ServiceInstance.new(json[:name], self, json)