Class: ConvenientService::Examples::Standard::V1::Gemfile::Services::FormatBody
- Inherits:
-
Object
- Object
- ConvenientService::Examples::Standard::V1::Gemfile::Services::FormatBody
- Includes:
- Service::Configs::Standard::V1
- Defined in:
- lib/convenient_service/examples/standard/v1/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.
66 67 68 |
# File 'lib/convenient_service/examples/standard/v1/gemfile/services/format_body.rb', line 66 def initialize(parsed_content:) @parsed_content = parsed_content end |
Instance Attribute Details
#parsed_content ⇒ Object (readonly)
Returns the value of attribute parsed_content.
52 53 54 |
# File 'lib/convenient_service/examples/standard/v1/gemfile/services/format_body.rb', line 52 def parsed_content @parsed_content end |
Instance Method Details
#result ⇒ Object
70 71 72 |
# File 'lib/convenient_service/examples/standard/v1/gemfile/services/format_body.rb', line 70 def result success(formatted_content: format_content) end |