Class: ADPDownloader::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/adp-downloader/config.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.employerObject

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

Parameters:

  • value

    the value to set the attribute quiet to.



7
8
9
# File 'lib/adp-downloader/config.rb', line 7

def quiet=(value)
  @quiet = value
end

Class Method Details

.credentialsObject



10
11
12
# File 'lib/adp-downloader/config.rb', line 10

def credentials
  @creds ||= from_stdin
end

.quiet?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/adp-downloader/config.rb', line 14

def quiet?
  @quiet
end