We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I try to call custom button action in remote region, but i have method_missing error
cn = ManageIQ::API::Client.new( :url => url, :miqtoken => region.api_system_auth_token('admin'), :ssl => {:verify => false}) col = cn.public_send(:services) res = col.find(id) res.public_send(:my_custom_button, nil)
NoMethodError: undefined method `my_custom_button' for #<ManageIQ::API::Client::Resource::Service:0x000000070c0dd0>
my_custom_button exists and works properly when I call directly
my_custom_button
GET /api/services/:id returns my custom button action, but res.actions doesnt return
GET /api/services/:id
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I try to call custom button action in remote region, but i have method_missing error
NoMethodError: undefined method `my_custom_button' for #<ManageIQ::API::Client::Resource::Service:0x000000070c0dd0>
my_custom_button
exists and works properly when I call directlyGET /api/services/:id
returns my custom button action, but res.actions doesnt returnThe text was updated successfully, but these errors were encountered: