Class: Jimson::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/syncano/jimson_client.rb

Overview

Overwritten Request class from Jimson gem

Instance Method Summary collapse

Instance Method Details

#as_json(options = {}) ⇒ Hash

Overwritten as_json method which solves bug with serialization batch requests

Returns:

  • (Hash)


62
63
64
# File 'lib/syncano/jimson_client.rb', line 62

def as_json(options = {})
  to_h
end