Class: Response

Inherits:
Struct show all
Defined in:
lib/inari/commands.rb

Overview

Responses are recorded in this format

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



11
12
13
# File 'lib/inari/commands.rb', line 11

def body
  @body
end

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



11
12
13
# File 'lib/inari/commands.rb', line 11

def code
  @code
end

#loggedObject

Returns the value of attribute logged

Returns:

  • (Object)

    the current value of logged



11
12
13
# File 'lib/inari/commands.rb', line 11

def logged
  @logged
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



11
12
13
# File 'lib/inari/commands.rb', line 11

def size
  @size
end