Class: ConvenientService::Examples::Standard::Gemfile::Services::FormatBody
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Standard::Gemfile::Services::FormatBody
- Includes:
- Service::Configs::Standard
- Defined in:
- lib/convenient_service/examples/standard/gemfile/services/format_body.rb
Instance Attribute Summary collapse
-
#parsed_content ⇒ Object
readonly
Returns the value of attribute parsed_content.
Instance Method Summary collapse
-
#initialize(parsed_content:) ⇒ FormatBody
constructor
A new instance of FormatBody.
- #result ⇒ Object
Constructor Details
#initialize(parsed_content:) ⇒ FormatBody
Returns a new instance of FormatBody.
65 66 67 |
# File 'lib/convenient_service/examples/standard/gemfile/services/format_body.rb', line 65 def initialize(parsed_content:) @parsed_content = parsed_content end |
Instance Attribute Details
#parsed_content ⇒ Object (readonly)
Returns the value of attribute parsed_content.
51 52 53 |
# File 'lib/convenient_service/examples/standard/gemfile/services/format_body.rb', line 51 def parsed_content @parsed_content end |
Instance Method Details
#result ⇒ Object
69 70 71 |
# File 'lib/convenient_service/examples/standard/gemfile/services/format_body.rb', line 69 def result success(formatted_content: format_content) end |