Skip to content

Commit

Permalink
Merge pull request #37 from jrafanie/fix-alias-attribute-with-non-att…
Browse files Browse the repository at this point in the history
…ribute-deprecation

resource is an association, not an attribute, add getter/setter aliases
  • Loading branch information
kbrock authored Nov 19, 2024
2 parents f7f5e56 + d00c33c commit 2bc2cdb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ class ManageIQ::Providers::Awx::AutomationManager::Credential < ManageIQ::Provid
# CUD operations in the TowerApi concern

alias_attribute :manager_id, :resource_id
alias_attribute :manager, :resource
alias_method :manager, :resource
alias_method :manager=, :resource=

include ManageIQ::Providers::Awx::AutomationManager::TowerApi
include ProviderObjectMixin
Expand Down

0 comments on commit 2bc2cdb

Please sign in to comment.