lib/seam/step.rb in seam-0.0.17 vs lib/seam/step.rb in seam-0.0.18
- old
+ new
@@ -1,16 +1,18 @@
module Seam
class Step
+ attr_accessor :id
attr_accessor :name
attr_accessor :type
attr_accessor :arguments
def initialize(args = {})
args.each { |k, v| self.send "#{k}=".to_sym, v }
end
def to_hash
{
+ id: id,
name: name,
type: type,
arguments: get_arguments
}
end