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