class Infrastructure
Public Class Methods
google_cloud_platform(project_name, app_name)
click to toggle source
# File lib/infrastructure/infrastructure.rb, line 3 def self.google_cloud_platform(project_name, app_name) credentials = ENV['GOOGLE_CLOUD_KEYFILE'] unless credentials puts 'Google Cloud credentials file not set. Run export GOOGLE_CLOUD_KEYFILE=<your_keyfile>.json' exit 1 end GoogleCloudPlatform.new(project_name, app_name, credentials) end