Class: MailRobber::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/mail_robber/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_deliveryObject

Returns the value of attribute block_delivery.



13
14
15
# File 'lib/mail_robber/config.rb', line 13

def block_delivery
  @block_delivery
end

#enabledObject

Returns the value of attribute enabled.



13
14
15
# File 'lib/mail_robber/config.rb', line 13

def enabled
  @enabled
end

#tokenObject

Returns the value of attribute token.



13
14
15
# File 'lib/mail_robber/config.rb', line 13

def token
  @token
end