Class: FootStats::ErrorResponse
- Inherits:
-
Object
- Object
- FootStats::ErrorResponse
- Defined in:
- lib/foot_stats/error_response.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(message) ⇒ ErrorResponse
constructor
A new instance of ErrorResponse.
Constructor Details
#initialize(message) ⇒ ErrorResponse
Returns a new instance of ErrorResponse.
5 6 7 |
# File 'lib/foot_stats/error_response.rb', line 5 def initialize() @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
3 4 5 |
# File 'lib/foot_stats/error_response.rb', line 3 def @message end |
Instance Method Details
#==(other) ⇒ Object
9 10 11 |
# File 'lib/foot_stats/error_response.rb', line 9 def ==(other) @message == other. end |