class GridRest::DummyResponse

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.

Public Instance Methods

code() click to toggle source
# File lib/grid_rest.rb, line 352
def code
  200
end
valid?() click to toggle source
# File lib/grid_rest.rb, line 355
def valid?
  true
end