Class: QueueItem
- Inherits:
-
Object
- Object
- QueueItem
- Defined in:
- lib/securenative/event_manager.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#retry_sending ⇒ Object
Returns the value of attribute retry_sending.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url, body, retry_sending) ⇒ QueueItem
constructor
A new instance of QueueItem.
Constructor Details
#initialize(url, body, retry_sending) ⇒ QueueItem
Returns a new instance of QueueItem.
7 8 9 10 11 |
# File 'lib/securenative/event_manager.rb', line 7 def initialize(url, body, retry_sending) @url = url @body = body @retry = retry_sending end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
4 5 6 |
# File 'lib/securenative/event_manager.rb', line 4 def body @body end |
#retry_sending ⇒ Object
Returns the value of attribute retry_sending.
4 5 6 |
# File 'lib/securenative/event_manager.rb', line 4 def retry_sending @retry_sending end |
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/securenative/event_manager.rb', line 4 def url @url end |