Module: ThirdPartyPrompter
- Included in:
- Resources::AccountMapping, Resources::AssessmentRequest, Resources::AvailableFile, Resources::ConfiguredAccount, Resources::ConfiguredFacility, Resources::FacilityMapping, Resources::Provider, Resources::ServiceDefinition, Resources::SltcRegistration, Resources::ThirdParty
- Defined in:
- lib/pvdgm-svc-client/prompters/third_party_prompter.rb
Instance Method Summary collapse
Instance Method Details
#third_party_id(allow_none = false) ⇒ Object
3 4 5 6 7 |
# File 'lib/pvdgm-svc-client/prompters/third_party_prompter.rb', line 3 def third_party_id(allow_none=false) return [:third_party_id] if [:third_party_id] return [:third_party_id] = ENV['THIRD_PARTY_ID'] if ENV['THIRD_PARTY_ID'] return [:third_party_id] = prompt_for_third_party_id(allow_none) end |