Skip to content

Commit

Permalink
new parameters nil by default
Browse files Browse the repository at this point in the history
  • Loading branch information
rpassas committed Jan 19, 2024
1 parent dc4a6ef commit 3ba8195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/inferno/dsl/fhir_resource_validation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Validator
attr_accessor :session_id, :name, :test_suite_id

# @private
def initialize(name, test_suite_id, requirements = nil, &)
def initialize(name = nil, test_suite_id = nil, requirements = nil, &)
@name = name
@test_suite_id = test_suite_id
instance_eval(&)
Expand Down

0 comments on commit 3ba8195

Please sign in to comment.