Method: Fastlane::Helper::S3ClientHelper#initialize
- Defined in:
- fastlane/lib/fastlane/helper/s3_client_helper.rb
#initialize(access_key: nil, secret_access_key: nil, region: nil) ⇒ S3ClientHelper
Returns a new instance of S3ClientHelper.
8 9 10 11 12 13 14 |
# File 'fastlane/lib/fastlane/helper/s3_client_helper.rb', line 8 def initialize(access_key: nil, secret_access_key: nil, region: nil) creds = Aws::Credentials.new(access_key, secret_access_key) Aws.config.update( region: region, credentials: creds ) end |