Class: Chatterbox::Email
- Inherits:
-
Object
- Object
- Chatterbox::Email
- Defined in:
- lib/chatterbox/email.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
- #deliver ⇒ Object
-
#initialize(options = {}) ⇒ Email
constructor
A new instance of Email.
Constructor Details
#initialize(options = {}) ⇒ Email
Returns a new instance of Email.
13 14 15 16 |
# File 'lib/chatterbox/email.rb', line 13 def initialize( = {}) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
11 12 13 |
# File 'lib/chatterbox/email.rb', line 11 def @options end |
Class Method Details
.deliver(options = {}) ⇒ Object
7 8 9 |
# File 'lib/chatterbox/email.rb', line 7 def self.deliver( = {}) new().deliver end |
Instance Method Details
#deliver ⇒ Object
18 19 20 |
# File 'lib/chatterbox/email.rb', line 18 def deliver Mailer.() end |