Ignore Metrics/AbcSize Rubocop for PostPresenter#as_api_response
[ci skip]
This commit is contained in:
parent
99411fced7
commit
f7a27f0c07
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class PostPresenter < BasePresenter
|
|||
.merge(non_directly_retrieved_attributes)
|
||||
end
|
||||
|
||||
def as_api_response
|
||||
def as_api_response # rubocop:disable Metrics/AbcSize
|
||||
{
|
||||
guid: @post.guid,
|
||||
body: build_text,
|
||||
|
|
|
|||
Loading…
Reference in a new issue