Class: GridRest::DummyResponse
Overview
This class can be used in testing environments. It will always be valid and behaves a bit like a normal response when this is a json hash.
Instance Method Summary collapse
Instance Method Details
#code ⇒ Object
352 353 354 |
# File 'lib/grid_rest.rb', line 352 def code 200 end |
#valid? ⇒ Boolean
355 356 357 |
# File 'lib/grid_rest.rb', line 355 def valid? true end |