Class: Levelup::Responses::Success
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Levelup::Responses::Success
- Defined in:
- lib/levelup/responses/success.rb
Overview
Class that encapsulates a successful response from the LevelUp API.
Direct Known Subclasses
Instance Method Summary collapse
-
#success? ⇒ Boolean
Whether the response represents a successful API call.
Instance Method Details
#success? ⇒ Boolean
Whether the response represents a successful API call.
6 7 8 |
# File 'lib/levelup/responses/success.rb', line 6 def success? true end |