Class: Mojito::HttpStatusCode

Inherits:
Struct
  • Object
show all
Defined in:
lib/mojito/utils/status_codes.rb

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



5
6
7
# File 'lib/mojito/utils/status_codes.rb', line 5

def code
  @code
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



5
6
7
# File 'lib/mojito/utils/status_codes.rb', line 5

def message
  @message
end

#symbolObject

Returns the value of attribute symbol

Returns:

  • (Object)

    the current value of symbol



5
6
7
# File 'lib/mojito/utils/status_codes.rb', line 5

def symbol
  @symbol
end