Class: MailRobber::Configuration
- Inherits:
-
Object
- Object
- MailRobber::Configuration
- Defined in:
- lib/mail_robber/config.rb
Instance Attribute Summary collapse
-
#block_delivery ⇒ Object
Returns the value of attribute block_delivery.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 18 19 |
# File 'lib/mail_robber/config.rb', line 15 def initialize @token = nil @enabled = true @block_delivery = false end |
Instance Attribute Details
#block_delivery ⇒ Object
Returns the value of attribute block_delivery.
13 14 15 |
# File 'lib/mail_robber/config.rb', line 13 def block_delivery @block_delivery end |
#enabled ⇒ Object
Returns the value of attribute enabled.
13 14 15 |
# File 'lib/mail_robber/config.rb', line 13 def enabled @enabled end |
#token ⇒ Object
Returns the value of attribute token.
13 14 15 |
# File 'lib/mail_robber/config.rb', line 13 def token @token end |