class Amplify::AWS::ProfileCredentials

Public Class Methods

new(profile) click to toggle source
Calls superclass method Amplify::AWS::CredentialsHash::new
# File lib/cicd/builder/environments-list/mixlib/lib/mixins/no_commands.rb, line 29
def initialize(profile)
  super()
  self.[]=(:profile, profile)
end

Public Instance Methods

get_options() click to toggle source
# File lib/cicd/builder/environments-list/mixlib/lib/mixins/no_commands.rb, line 33
def get_options
  {
      :profile => self.[](:profile),
      :account => self.[](:profile),
  }
end