Class: QueueItem

Inherits:
Object
  • Object
show all
Defined in:
lib/securenative/event_manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject

Returns the value of attribute body.



4
5
6
# File 'lib/securenative/event_manager.rb', line 4

def body
  @body
end

#retry_sendingObject

Returns the value of attribute retry_sending.



4
5
6
# File 'lib/securenative/event_manager.rb', line 4

def retry_sending
  @retry_sending
end

#urlObject

Returns the value of attribute url.



4
5
6
# File 'lib/securenative/event_manager.rb', line 4

def url
  @url
end