lib/convenient_service/examples/dry/v1/gemfile.rb in convenient_service-0.15.0 vs lib/convenient_service/examples/dry/v1/gemfile.rb in convenient_service-0.16.0
- old
+ new
@@ -15,10 +15,12 @@
module Dry
module V1
class Gemfile
include ConvenientService::Feature::Standard::Config
- entry :format do |path|
+ entry :format
+
+ def format(path)
Services::Format[path: path]
end
end
end
end