Skip to content

Commit

Permalink
Added 'playbook' as location type for Automate MEehods
Browse files Browse the repository at this point in the history
  • Loading branch information
h-kataria committed Sep 6, 2017
1 parent 63e85c8 commit b79be0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/miq_ae_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MiqAeMethod < ApplicationRecord

AVAILABLE_LANGUAGES = ["ruby", "perl"] # someday, add sh, perl, python, tcl and any other scripting language
validates_inclusion_of :language, :in => AVAILABLE_LANGUAGES
AVAILABLE_LOCATIONS = %w(builtin inline uri expression).freeze
AVAILABLE_LOCATIONS = %w(builtin inline uri expression playbook).freeze
validates_inclusion_of :location, :in => AVAILABLE_LOCATIONS
AVAILABLE_SCOPES = ["class", "instance"]
validates_inclusion_of :scope, :in => AVAILABLE_SCOPES
Expand Down

0 comments on commit b79be0a

Please sign in to comment.