Class: ADPDownloader::Config
- Inherits:
-
Object
- Object
- ADPDownloader::Config
- Defined in:
- lib/adp-downloader/config.rb
Class Attribute Summary collapse
-
.employer ⇒ Object
Returns the value of attribute employer.
-
.quiet ⇒ Object
writeonly
Sets the attribute quiet.
Class Method Summary collapse
Class Attribute Details
.employer ⇒ Object
Returns the value of attribute employer.
8 9 10 |
# File 'lib/adp-downloader/config.rb', line 8 def employer @employer end |
.quiet=(value) ⇒ Object (writeonly)
Sets the attribute quiet
7 8 9 |
# File 'lib/adp-downloader/config.rb', line 7 def quiet=(value) @quiet = value end |
Class Method Details
.credentials ⇒ Object
10 11 12 |
# File 'lib/adp-downloader/config.rb', line 10 def credentials @creds ||= from_stdin end |
.quiet? ⇒ Boolean
14 15 16 |
# File 'lib/adp-downloader/config.rb', line 14 def quiet? @quiet end |