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
159 |
# File 'lib/everywhere/platform/client.rb', line 159 def ok? = status.between?(200, 299) |
#unauthorized? ⇒ Boolean
160 |
# File 'lib/everywhere/platform/client.rb', line 160 def = status == 401 |