Class: Papercall::Configuration
- Inherits:
-
Object
- Object
- Papercall::Configuration
- Defined in:
- lib/papercall/configuration.rb
Instance Attribute Summary collapse
-
#API_KEY ⇒ Object
Returns the value of attribute API_KEY.
-
#input_file ⇒ Object
Returns the value of attribute input_file.
-
#output ⇒ Object
Returns the value of attribute output.
-
#threads ⇒ Object
Returns the value of attribute threads.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/papercall/configuration.rb', line 5 def initialize @input_file = 'submissions.json' @threads = 150 @output = true end |
Instance Attribute Details
#API_KEY ⇒ Object
Returns the value of attribute API_KEY.
3 4 5 |
# File 'lib/papercall/configuration.rb', line 3 def API_KEY @API_KEY end |
#input_file ⇒ Object
Returns the value of attribute input_file.
3 4 5 |
# File 'lib/papercall/configuration.rb', line 3 def input_file @input_file end |
#output ⇒ Object
Returns the value of attribute output.
3 4 5 |
# File 'lib/papercall/configuration.rb', line 3 def output @output end |
#threads ⇒ Object
Returns the value of attribute threads.
3 4 5 |
# File 'lib/papercall/configuration.rb', line 3 def threads @threads end |