Class: Hoss::Event::Response Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeResponse

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

#bodyObject

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

#headersObject

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_atObject

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_codeObject

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