class RubyAemAws::ArgumentError

Raise this when credentials can't be found

Public Class Methods

new(msg = "No credentials found! Set environment variable AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY or AWS_PROFILE. Alternative use following syntax: RubyAemAws::AemAws.new(aws_access_key_id, aws_scret_access_key) or RubyAemAws::AemAws.new(credentials_profile_name)") click to toggle source
Calls superclass method
# File lib/ruby_aem_aws/error.rb, line 53
def initialize(msg = "No credentials found!
  Set environment variable AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY or AWS_PROFILE.
  Alternative use following syntax:
  RubyAemAws::AemAws.new(aws_access_key_id, aws_scret_access_key) or
  RubyAemAws::AemAws.new(credentials_profile_name)")
  super
end