Module: Moonshot::AccountContext

Defined in:
lib/moonshot/account_context.rb

Class Method Summary collapse

Class Method Details

.determine_account_nameObject



17
18
19
# File 'lib/moonshot/account_context.rb', line 17

def self.
  Aws::IAM::Client.new...first
end

.getObject



5
6
7
# File 'lib/moonshot/account_context.rb', line 5

def self.get
  @account ||= 
end

.resetObject



13
14
15
# File 'lib/moonshot/account_context.rb', line 13

def self.reset
  @account = nil
end

.set(account_name) ⇒ Object



9
10
11
# File 'lib/moonshot/account_context.rb', line 9

def self.set()
  @account = 
end