Showing 3 of 24 total issues
Method map
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def map
{
title: @results['title'],
resource_uri: @results['resourceURI'],
id: @results['id'].to_i,
Avoid too many return
statements within this method. Open
Open
return name[0..-2].capitalize
Avoid too many return
statements within this method. Open
Open
return "Story" if name == 'stories'