Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Addlogs#9 #11

Merged
merged 6 commits into from
May 13, 2015
Merged

Addlogs#9 #11

merged 6 commits into from
May 13, 2015

Conversation

clemf
Copy link
Contributor

@clemf clemf commented May 12, 2015

This is my first attempt for #9. I'm not sure how to test it without the API side being finished, but some code review for what I have would help.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.94%) to 97.06% when pulling d87d30c on addlogs#9 into 32af905 on master.

@@ -32,6 +38,13 @@ def post(resource, options)
content
end

def get(resource, options)
Copy link
Member

Choose a reason for hiding this comment

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

change this to def get(resource, options = {}) so that there is a default option. That way you can just call get(resource) without having to add the {}.

@coveralls
Copy link

Coverage Status

Coverage decreased (-8.82%) to 91.18% when pulling e638433 on addlogs#9 into 32af905 on master.

@clemf
Copy link
Contributor Author

clemf commented May 13, 2015

Changes made. Should I add methods for the rest of CRUD operations or wait for API to be ready?

skierkowski pushed a commit that referenced this pull request May 13, 2015
@skierkowski skierkowski merged commit 5bf7541 into master May 13, 2015
@skierkowski skierkowski deleted the addlogs#9 branch May 13, 2015 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants