Method: Transloadit::Step#to_json

Defined in:
lib/transloadit/step.rb

#to_jsonString

Returns JSON-encoded String containing the Step’s hash contents.

Returns:

  • (String)

    JSON-encoded String containing the Step’s hash contents

[View source]

78
79
80
# File 'lib/transloadit/step.rb', line 78

def to_json
  MultiJson.dump(to_hash)
end