Class: Shugoi::Core::Decision

Inherits:
Struct
  • Object
show all
Defined in:
lib/shugoi/core.rb

Overview

Résultat de blocage renvoyé au middleware.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



8
9
10
# File 'lib/shugoi/core.rb', line 8

def body
  @body
end

#content_typeObject

Returns the value of attribute content_type

Returns:

  • (Object)

    the current value of content_type



8
9
10
# File 'lib/shugoi/core.rb', line 8

def content_type
  @content_type
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



8
9
10
# File 'lib/shugoi/core.rb', line 8

def headers
  @headers
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



8
9
10
# File 'lib/shugoi/core.rb', line 8

def status
  @status
end