Parent

Methods

Class/Module Index [+]

Quicksearch

Fog::Google::Storage::Mock

Public Instance Methods

get_bucket_acl(bucket_name) click to toggle source
# File lib/fog/google/requests/storage/get_bucket_acl.rb, line 48
def get_bucket_acl(bucket_name)
  response = Excon::Response.new
  if acl = self.data[:acls][:bucket][bucket_name]
    response.status = 200
    response.body = acl
  else
    response.status = 404
    raise(Excon::Errors.status_error({:expects => 200}, response))
  end
  response
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.