Method: Transloadit::Step#initialize

Defined in:
lib/transloadit/step.rb

#initialize(name, robot, options = {}) ⇒ Step

Creates a new Step with the given robot.

Parameters:

  • name (String)

    the explicit name to give the step

  • robot (String)

    the robot to use

  • options (Hash) (defaults to: {})

    the configuration options for the robot; see Transloadit#step for possible values

[View source]

29
30
31
32
33
# File 'lib/transloadit/step.rb', line 29

def initialize(name, robot, options = {})
  self.name = name
  self.robot = robot
  self.options = options
end