Class: ConvenientService::Examples::Dry::V1::Gemfile::Services::ReadFileContent
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Dry::V1::Gemfile::Services::ReadFileContent
- Includes:
- DryService::Config
- Defined in:
- lib/convenient_service/examples/dry/v1/gemfile/services/read_file_content.rb
Instance Method Summary collapse
Instance Method Details
#result ⇒ Object
24 25 26 |
# File 'lib/convenient_service/examples/dry/v1/gemfile/services/read_file_content.rb', line 24 def result success(data: {content: ::File.read(path)}) end |