lib/tomograph/api_blueprint/drafter_3/yaml.rb in tomograph-2.5.3 vs lib/tomograph/api_blueprint/drafter_3/yaml.rb in tomograph-2.5.4
- old
+ new
@@ -105,10 +105,10 @@
}
end
def to_tomogram
@tomogram ||= actions.inject([]) do |result, action|
- result.push(Tomograph::Tomogram::Action.new(action))
+ result.push(Tomograph::Tomogram::Action.new(**action))
end
end
def to_resources
return @to_resources if @to_resources