Class: Prowler::DelayedJob
- Inherits:
-
Object
- Object
- Prowler::DelayedJob
- Defined in:
- lib/prowler/delayed_job.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#application ⇒ Object
Returns the value of attribute application.
-
#event ⇒ Object
Returns the value of attribute event.
-
#message ⇒ Object
Returns the value of attribute message.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#provider_key ⇒ Object
Returns the value of attribute provider_key.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ DelayedJob
constructor
:nodoc:.
-
#options ⇒ Object
:nodoc:.
-
#perform ⇒ Object
Send notification.
Constructor Details
#initialize {|_self| ... } ⇒ DelayedJob
:nodoc:
6 7 8 |
# File 'lib/prowler/delayed_job.rb', line 6 def initialize #:nodoc: yield self if block_given? end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/prowler/delayed_job.rb', line 3 def api_key @api_key end |
#application ⇒ Object
Returns the value of attribute application.
3 4 5 |
# File 'lib/prowler/delayed_job.rb', line 3 def application @application end |
#event ⇒ Object
Returns the value of attribute event.
4 5 6 |
# File 'lib/prowler/delayed_job.rb', line 4 def event @event end |
#message ⇒ Object
Returns the value of attribute message.
4 5 6 |
# File 'lib/prowler/delayed_job.rb', line 4 def @message end |
#priority ⇒ Object
Returns the value of attribute priority.
4 5 6 |
# File 'lib/prowler/delayed_job.rb', line 4 def priority @priority end |
#provider_key ⇒ Object
Returns the value of attribute provider_key.
3 4 5 |
# File 'lib/prowler/delayed_job.rb', line 3 def provider_key @provider_key end |
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/prowler/delayed_job.rb', line 4 def url @url end |
Instance Method Details
#options ⇒ Object
:nodoc:
16 17 18 |
# File 'lib/prowler/delayed_job.rb', line 16 def #:nodoc: { :priority => priority, :url => url, :delayed => false } end |