ManageIQ / azure-armrest

Ruby interface for Azure using the new REST API
Apache License 2.0
15 stars 36 forks source link

Use name_from_hash in exception handlers #354

Closed djberg96 closed 6 years ago

djberg96 commented 6 years ago

When we switched over to the skip_accessors approach, we missed a couple places where the .name property isn't available. Instead, we must use name_from_hash.

miq-bot commented 6 years ago

Checked commit https://github.com/djberg96/azure-armrest/commit/cb601e0cde1699efb77d8ea3fa4d98a5303f33b9 with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0 2 files checked, 0 offenses detected Everything looks fine. :cookie:

djberg96 commented 6 years ago

@NickLaMuro Look good?