lib/cfoundry/v2/app.rb in cfoundry-0.3.61 vs lib/cfoundry/v2/app.rb in cfoundry-0.4.0
- old
+ new
@@ -33,9 +33,12 @@
to_many :service_bindings
to_many :routes
scoped_to_space
+ queryable_by :name, :space_guid, :organization_guid, :framework_guid,
+ :runtime_guid
+
has_summary :urls => proc { |x| self.cache[:uris] = x },
:running_instances => proc { |x|
self.cache[:running_instances] = x
},