lib/cfoundry/v2/base.rb in cfoundry-0.3.27 vs lib/cfoundry/v2/base.rb in cfoundry-0.3.28

- old
+ new

@@ -98,9 +98,14 @@ put(payload, "v2", "apps", guid, "bits") rescue RestClient::ServerBrokeConnection retry end + def files(guid, instance, *path) + get("v2", "apps", guid, "instances", instance, "files", *path) + end + alias :file :files + def params_from(args) depth, query = args depth ||= 1