Class: Pennyworth::Models::HTTPStatus
- Inherits:
-
Struct
- Object
- Struct
- Pennyworth::Models::HTTPStatus
- Defined in:
- lib/pennyworth/models/http_status.rb
Overview
Defines HTTP status details.
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#label ⇒ Object
Returns the value of attribute label.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
6 7 8 |
# File 'lib/pennyworth/models/http_status.rb', line 6 def code @code end |
#label ⇒ Object
Returns the value of attribute label
6 7 8 |
# File 'lib/pennyworth/models/http_status.rb', line 6 def label @label end |
#url ⇒ Object
Returns the value of attribute url
6 7 8 |
# File 'lib/pennyworth/models/http_status.rb', line 6 def url @url end |