Class: Fixturizer::Rspec::Helpers::Records

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/fixturizer/rspec/helpers/records.rb

Instance Method Summary collapse

Instance Method Details

#apply(value:, rule:) ⇒ Object



9
10
11
# File 'lib/fixturizer/rspec/helpers/records.rb', line 9

def apply(value:, rule:)
  Fixturizer::Services.get.engine(name: :record, parameters: { value:, rule: }).apply
end