Class: Changelog::Notifier::Adapters::Base
- Inherits:
-
Object
- Object
- Changelog::Notifier::Adapters::Base
- Defined in:
- lib/changelog/notifier/adapters/base.rb
Direct Known Subclasses
Instance Method Summary collapse
- #configured? ⇒ Boolean
-
#initialize(capistrano) ⇒ Base
constructor
A new instance of Base.
- #publish!(release_note_hash, version) ⇒ Object
Constructor Details
#initialize(capistrano) ⇒ Base
Returns a new instance of Base.
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/changelog/notifier/adapters/base.rb', line 7 def initialize(capistrano) @capistrano = capistrano unless @capistrano raise ArgumentError, 'No Capistrano instance passed while it is ' \ 'required.' end fetches_adapter_configuration end |
Instance Method Details
#configured? ⇒ Boolean
18 19 20 |
# File 'lib/changelog/notifier/adapters/base.rb', line 18 def configured? raise NotImplementedError end |
#publish!(release_note_hash, version) ⇒ Object
22 23 24 |
# File 'lib/changelog/notifier/adapters/base.rb', line 22 def publish!(release_note_hash, version) raise NotImplementedError end |