Skip to content

Refactoring for code improvement #21

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jikkujose
Copy link

A portion of the gem is refactored with the goal of improving readability, reducing coupling.

@@ -147,8 +147,8 @@ def user_full_reputation_history(id, options = {})

private

def user_response(options={}, url='')
url = 'users/'+ url
def user_response(options = {}, url = '')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants