lib/plenty_client/endpoint.rb
Method build_endpoint
has 82 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def build_endpoint(api_endpoint_template, arguments = {})
# Duplicate constant to temporary endpoint string
api_endpoint_result = api_endpoint_template.dup
# Endpoint parameters hash that links symbols to regex
endpoint_parameters = {