Class: NotificationHub::Channels::Email::Base
- Inherits:
-
Object
- Object
- NotificationHub::Channels::Email::Base
- Defined in:
- lib/notification_hub/channels/email/base.rb
Direct Known Subclasses
Class Attribute Summary collapse
-
.gateway_code ⇒ Object
Returns the value of attribute gateway_code.
-
.gateway_options ⇒ Object
Returns the value of attribute gateway_options.
Instance Method Summary collapse
-
#initialize(options) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(options) ⇒ Base
Returns a new instance of Base.
5 6 7 8 |
# File 'lib/notification_hub/channels/email/base.rb', line 5 def initialize() Email.default_gateway = self.class.gateway_code self.class. = end |
Class Attribute Details
.gateway_code ⇒ Object
Returns the value of attribute gateway_code.
12 13 14 |
# File 'lib/notification_hub/channels/email/base.rb', line 12 def gateway_code @gateway_code end |
.gateway_options ⇒ Object
Returns the value of attribute gateway_options.
11 12 13 |
# File 'lib/notification_hub/channels/email/base.rb', line 11 def @gateway_options end |