Class: SendToKindle::Notifications::Base
- Inherits:
-
Object
- Object
- SendToKindle::Notifications::Base
- Defined in:
- lib/send_to_kindle/notifications/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#message ⇒ Object
Returns the value of attribute message.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(file_path, message, options = {}) ⇒ Base
constructor
A new instance of Base.
- #send ⇒ Object
Constructor Details
#initialize(file_path, message, options = {}) ⇒ Base
Returns a new instance of Base.
11 12 13 14 15 16 17 |
# File 'lib/send_to_kindle/notifications/base.rb', line 11 def initialize(file_path, , ={}) self. = self.file_path = file_path self. = add_mediums end |
Instance Attribute Details
#file_path ⇒ Object
Returns the value of attribute file_path.
9 10 11 |
# File 'lib/send_to_kindle/notifications/base.rb', line 9 def file_path @file_path end |
#message ⇒ Object
Returns the value of attribute message.
9 10 11 |
# File 'lib/send_to_kindle/notifications/base.rb', line 9 def @message end |
#options ⇒ Object
Returns the value of attribute options.
9 10 11 |
# File 'lib/send_to_kindle/notifications/base.rb', line 9 def @options end |
Instance Method Details
#send ⇒ Object
19 20 |
# File 'lib/send_to_kindle/notifications/base.rb', line 19 def send end |