Class: Pennyworth::Models::HTTPStatus

Inherits:
Struct
  • Object
show all
Defined in:
lib/pennyworth/models/http_status.rb

Overview

Defines HTTP status details.

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



6
7
8
# File 'lib/pennyworth/models/http_status.rb', line 6

def code
  @code
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



6
7
8
# File 'lib/pennyworth/models/http_status.rb', line 6

def label
  @label
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



6
7
8
# File 'lib/pennyworth/models/http_status.rb', line 6

def url
  @url
end