module RSpec::Storage::GCS
Constants
- SCOPES
Public Class Methods
handle_location(uri)
click to toggle source
# File lib/rspec/storage/gcs.rb, line 18 def handle_location(uri) client = Google::Apis::StorageV1::StorageService.new auth = Google::Auth.get_application_default(SCOPES) client.authorization = auth FakeIO.new(Uploader.new(client, uri)) end