Sha256: 295190270cad3e718e3f1df58d03e20871d68991f1ad0c40fea9c7f76cd48073
Contents?: true
Size: 519 Bytes
Versions: 15
Compression:
Stored size: 519 Bytes
Contents
require_relative "handles_dry_call/fulfills_stubbing" require_relative "handles_dry_call/logs_call" require_relative "handles_dry_call/validates_arguments" module Mocktail class HandlesDryCall def initialize @validates_arguments = ValidatesArguments.new @logs_call = LogsCall.new @fulfills_stubbing = FulfillsStubbing.new end def handle(dry_call) @validates_arguments.validate(dry_call) @logs_call.log(dry_call) @fulfills_stubbing.fulfill(dry_call) end end end
Version data entries
15 entries across 15 versions & 1 rubygems