Method: Transloadit::Step#to_hash

Defined in:
lib/transloadit/step.rb

#to_hashHash

Returns a Transloadit-compatible Hash of the Step’s contents.

Returns:

  • (Hash)

    a Transloadit-compatible Hash of the Step’s contents

[View source]

71
72
73
# File 'lib/transloadit/step.rb', line 71

def to_hash
  {name => options.merge(robot: robot)}
end