Module: SltcRegistrationPrompter
- Included in:
- Resources::SltcRegistration
- Defined in:
- lib/pvdgm-svc-client/prompters/sltc_registration_prompter.rb
Instance Method Summary collapse
Instance Method Details
#sltc_registration_id(allow_none = false) ⇒ Object
3 4 5 6 7 |
# File 'lib/pvdgm-svc-client/prompters/sltc_registration_prompter.rb', line 3 def sltc_registration_id(allow_none=false) return [:sltc_registration_id] if [:sltc_registration_id] return [:sltc_registration_id] = ENV['SLTC_REGISTRATION_ID'] if ENV['SLTC_REGISTRATION_ID'] return [:sltc_registration_id] = prompt_for_sltc_registration_id(allow_none) end |