Class: Deliveryman::Configuration
- Inherits:
-
Object
- Object
- Deliveryman::Configuration
- Defined in:
- lib/deliveryman/configuration.rb
Instance Attribute Summary collapse
-
#processor ⇒ Object
Returns the value of attribute processor.
-
#report_mail_from ⇒ Object
Returns the value of attribute report_mail_from.
-
#report_mail_to ⇒ Object
Returns the value of attribute report_mail_to.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/deliveryman/configuration.rb', line 7 def initialize self.processor = -> { [[1,2,3], [4,5,6]] } end |
Instance Attribute Details
#processor ⇒ Object
Returns the value of attribute processor.
5 6 7 |
# File 'lib/deliveryman/configuration.rb', line 5 def processor @processor end |
#report_mail_from ⇒ Object
Returns the value of attribute report_mail_from.
4 5 6 |
# File 'lib/deliveryman/configuration.rb', line 4 def report_mail_from @report_mail_from end |
#report_mail_to ⇒ Object
Returns the value of attribute report_mail_to.
3 4 5 |
# File 'lib/deliveryman/configuration.rb', line 3 def report_mail_to @report_mail_to end |