Class: Contentful::Webhook::Listener::Controllers::Wait
- Inherits:
-
Base
- Object
- WEBrick::HTTPServlet::AbstractServlet
- Base
- Contentful::Webhook::Listener::Controllers::Wait
- Defined in:
- lib/contentful/webhook/listener/controllers/wait.rb
Overview
Wait Controller Sleeps a determined amount of ‘:timeout` seconds on #perform
Direct Known Subclasses
Instance Attribute Summary collapse
-
#webhook_timeout ⇒ Object
readonly
Returns the value of attribute webhook_timeout.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(server, logger, wh_timeout, *options) ⇒ Wait
constructor
A new instance of Wait.
Methods inherited from Base
Constructor Details
#initialize(server, logger, wh_timeout, *options) ⇒ Wait
Returns a new instance of Wait.
13 14 15 16 |
# File 'lib/contentful/webhook/listener/controllers/wait.rb', line 13 def initialize(server, logger, wh_timeout, *) super(server, logger, ) @webhook_timeout = wh_timeout end |
Instance Attribute Details
#webhook_timeout ⇒ Object (readonly)
Returns the value of attribute webhook_timeout.
11 12 13 |
# File 'lib/contentful/webhook/listener/controllers/wait.rb', line 11 def webhook_timeout @webhook_timeout end |