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

Fix Issue #36: client.meta.users failing #40

Merged
merged 5 commits into from
Feb 17, 2018
Merged

Fix Issue #36: client.meta.users failing #40

merged 5 commits into from
Feb 17, 2018

Conversation

ruprict
Copy link
Contributor

@ruprict ruprict commented Feb 16, 2018

The issue stems from the various ways the Bamboo HR API returns results
for the metadata endpoints. The original code tried to handle it with
metaprogramming, but the returning results are not the same.

Added tests and methods specific to the four metadata endpoints.

Address Issue #36

The issue stems from the various ways the Bamboo HR API returns results
for the metadata endpoints. The original code tried to handle it with
metaprogramming, but the returning results are not the same.

Added tests and methods specific to the four metadata endpoints.

Address [Issue #36](#36)
@coveralls
Copy link

coveralls commented Feb 16, 2018

Coverage Status

Coverage increased (+0.7%) to 92.048% when pulling 3017c7f on issue-38 into debad28 on master.

MultiXml.parse(response, symbolize_keys: true)
typecast = options.fetch(:typecast_values, true)
MultiXml.parse(response,
symbolize_keys: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Layout/AlignHash: Align the elements of a hash literal if they span more than one line.

def tables
request(
:get, "meta/tables",
typecast_values: false)[:tables]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Layout/MultilineMethodCallBraceLayout: Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument.

Copy link
Contributor

@enriikke enriikke left a comment

Choose a reason for hiding this comment

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

:shipit:

@ruprict ruprict merged commit 0986b25 into master Feb 17, 2018
@chrisman chrisman deleted the issue-38 branch April 2, 2019 15:55
@chrisman chrisman mentioned this pull request Apr 4, 2019
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