Class: ForgeCLI::PostHooks
- Inherits:
-
Object
- Object
- ForgeCLI::PostHooks
- Defined in:
- lib/forge-cli/post_hooks.rb
Direct Known Subclasses
BannerPostHooks, BasePostHooks, DispatchPostHooks, EcommercePostHooks, EventPostHooks, GalleryPostHooks, PostPostHooks, SubscriberPostHooks, VideoPostHooks
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(app) ⇒ PostHooks
constructor
A new instance of PostHooks.
- #run! ⇒ Object
Constructor Details
#initialize(app) ⇒ PostHooks
Returns a new instance of PostHooks.
6 7 8 |
# File 'lib/forge-cli/post_hooks.rb', line 6 def initialize(app) @app = app end |
Class Method Details
.run!(app) ⇒ Object
2 3 4 |
# File 'lib/forge-cli/post_hooks.rb', line 2 def self.run!(app) new(app).run! end |
Instance Method Details
#run! ⇒ Object
10 11 12 |
# File 'lib/forge-cli/post_hooks.rb', line 10 def run! raise NotImplementedError end |