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 account_mapping_id(allow_none=false) return [:account_mapping_id] if [:account_mapping_id] return [:account_mapping_id] = ENV['ACCOUNT_MAPPING_ID'] if ENV['ACCOUNT_MAPPING_ID'] return [:account_mapping_id] = prompt_for_account_mapping_id(allow_none) end |