# File lib/fog/google/models/storage/files.rb, line 61 def get(key, options = {}, &block) requires :directory data = connection.get_object(directory.key, key, options, &block) file_data = data.headers.merge({ :body => data.body, :key => key }) new(file_data) rescue Excon::Errors::NotFound nil end