Class: Levelup::Responses::Success

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/levelup/responses/success.rb

Overview

Class that encapsulates a successful response from the LevelUp API.

Direct Known Subclasses

SuccessPaginated

Instance Method Summary collapse

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