Class: Everywhere::Platform::Client::Response
- Inherits:
-
Struct
- Object
- Struct
- Everywhere::Platform::Client::Response
- Defined in:
- lib/everywhere/platform/client.rb
Instance Method Summary collapse
Instance Method Details
#ok? ⇒ Boolean
120 |
# File 'lib/everywhere/platform/client.rb', line 120 def ok? = status.between?(200, 299) |
#unauthorized? ⇒ Boolean
121 |
# File 'lib/everywhere/platform/client.rb', line 121 def = status == 401 |