Class: Hoss::Event::Response Private
- Inherits:
-
Object
- Object
- Hoss::Event::Response
- Extended by:
- Forwardable
- Defined in:
- lib/hoss/event.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #body ⇒ Object private
- #headers ⇒ Object private
- #received_at ⇒ Object private
- #status_code ⇒ Object private
Instance Method Summary collapse
-
#initialize ⇒ Response
constructor
private
A new instance of Response.
Constructor Details
#initialize ⇒ Response
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Response.
46 47 48 |
# File 'lib/hoss/event.rb', line 46 def initialize @headers = {} end |
Instance Attribute Details
#body ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
49 50 51 |
# File 'lib/hoss/event.rb', line 49 def body @body end |
#headers ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
49 50 51 |
# File 'lib/hoss/event.rb', line 49 def headers @headers end |
#received_at ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
49 50 51 |
# File 'lib/hoss/event.rb', line 49 def received_at @received_at end |
#status_code ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
49 50 51 |
# File 'lib/hoss/event.rb', line 49 def status_code @status_code end |