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

[api] Add chargebacks to the API. #3611

Merged
merged 7 commits into from
Jul 31, 2015

Conversation

imtayadeway
Copy link
Contributor

@imtayadeway
Copy link
Contributor Author

@miq-bot add_label wip
@miq-bot add_label api

@imtayadeway imtayadeway changed the title [WIP] [api] Add chargebacks to the API. [api] Add chargebacks to the API. Jul 30, 2015
@imtayadeway
Copy link
Contributor Author

@miq-bot remove_label wip

@miq-bot miq-bot removed the wip label Jul 30, 2015
@chessbyte
Copy link
Member

@abellotti Please review

"description" => chargeback_rate.description,
"guid" => chargeback_rate.guid,
"id" => chargeback_rate.id,
"href" => "http://example.org/api/chargebacks/#{chargeback_rate.to_param}"
Copy link
Member

Choose a reason for hiding this comment

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

no need for full path here, you can just have "href" => chargebacks_url(chargeback_rate.to_param)

@miq-bot
Copy link
Member

miq-bot commented Jul 31, 2015

Checked commits imtayadeway@7b06e8d .. imtayadeway@796b79b with rubocop 0.32.1 and haml-lint 0.13.0
5 files checked, 0 offenses detected
Everything looks good. 🍰

@abellotti
Copy link
Member

👍 Looks good, will merge when green.

abellotti added a commit that referenced this pull request Jul 31, 2015
@abellotti abellotti merged commit 320b6d2 into ManageIQ:master Jul 31, 2015
@chessbyte chessbyte added this to the Sprint 27 Ending August 3, 2015 milestone Jul 31, 2015
@imtayadeway imtayadeway deleted the tw/api/add-chargeback-endpoint branch March 28, 2016 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants