lib/cfoundry/v2/base.rb in cfoundry-0.3.13 vs lib/cfoundry/v2/base.rb in cfoundry-0.3.14
- old
+ new
@@ -44,11 +44,11 @@
def info
get("info", nil => :json)
end
- [ :app, :organization, :space, :user, :runtime, :framework,
- :service, :service_plan, :service_binding, :service_instance
+ [ :app, :organization, :space, :user, :runtime, :framework, :service,
+ :service_plan, :service_binding, :service_instance, :service_auth_token
].each do |obj|
plural = "#{obj}s"
define_method(obj) do |guid, *args|
depth, _ = args