Module: AccountMappingPrompter

Included in:
Resources::AccountMapping
Defined in:
lib/pvdgm-svc-client/prompters/account_mapping_prompter.rb

Instance Method Summary collapse

Instance Method Details

#account_mapping_id(allow_none = false) ⇒ Object



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

def (allow_none=false)
  return options[:account_mapping_id] if options[:account_mapping_id]
  return options[:account_mapping_id] = ENV['ACCOUNT_MAPPING_ID'] if ENV['ACCOUNT_MAPPING_ID']
  return options[:account_mapping_id] = (allow_none)
end