Module: Logux::Test::Client

Included in:
Client
Defined in:
lib/logux/test.rb

Instance Method Summary collapse

Instance Method Details

#post(params) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/logux/test.rb', line 21

def post(params)
  if Logux::Test.http_requests_enabled
    super(params)
  else
    Logux::Test::Store.instance.add(params.to_json)
  end
end