Class: ConvenientService::Examples::Rails::V1::Gemfile::Services::FormatBody

Inherits:
Object
  • Object
show all
Includes:
RailsService::Config
Defined in:
lib/convenient_service/examples/rails/v1/gemfile/services/format_body.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#parsed_contentObject

Returns the value of attribute parsed_content.



52
53
54
# File 'lib/convenient_service/examples/rails/v1/gemfile/services/format_body.rb', line 52

def parsed_content
  @parsed_content
end

Instance Method Details

#resultObject



66
67
68
# File 'lib/convenient_service/examples/rails/v1/gemfile/services/format_body.rb', line 66

def result
  success(formatted_content: format_content)
end