Module: ConfiguredAccountPrompter

Instance Method Summary collapse

Instance Method Details

#configured_account_id(allow_none = false) ⇒ Object



3
4
5
6
7
# File 'lib/pvdgm-svc-client/prompters/configured_account_prompter.rb', line 3

def (allow_none=false)
  return options[:configured_account_id] if options[:configured_account_id]
  return options[:configured_account_id] = ENV['CONFIGURED_ACCOUNT_ID'] if ENV['CONFIGURED_ACCOUNT_ID']
  return options[:configured_account_id] = (allow_none)
end