Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- project_id = "wearabe6a"
- key_file = "service-account.json"
- storage = Google::Cloud::Storage.new project: project_id, keyfile: key_file
- bucket = storage.bucket "wearableeo.appspot.com"
- file = bucket.file file_name
- file.signed_url
Add Comment
Please, Sign In to add comment