Class: Katello::RegisterWithActivationKeyConstraint

Inherits:
Object
  • Object
show all
Defined in:
app/lib/katello/api/constraints/activation_key_constraint.rb

Instance Method Summary collapse

Instance Method Details

#matches?(request) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'app/lib/katello/api/constraints/activation_key_constraint.rb', line 3

def matches?(request)
  request.params[:activation_keys]
end