Class: ConvenientService::Examples::Dry::Gemfile::Services::ReadFileContent

Inherits:
Object
  • Object
show all
Includes:
DryService::Config
Defined in:
lib/convenient_service/examples/dry/gemfile/services/read_file_content.rb

Instance Method Summary collapse

Instance Method Details

#resultObject



23
24
25
# File 'lib/convenient_service/examples/dry/gemfile/services/read_file_content.rb', line 23

def result
  success(content: ::File.read(path))
end