Exception: Katello::Errors::UnsupportedActionException

Inherits:
StandardError
  • Object
show all
Defined in:
app/lib/katello/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(action, receiver, message) ⇒ UnsupportedActionException

Returns a new instance of UnsupportedActionException.



71
72
73
74
# File 'app/lib/katello/errors.rb', line 71

def initialize(action, receiver, message)
  @action, @receiver = action, receiver
  super(message)
end

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action.



69
70
71
# File 'app/lib/katello/errors.rb', line 69

def action
  @action
end

#receiverObject (readonly)

Returns the value of attribute receiver.



69
70
71
# File 'app/lib/katello/errors.rb', line 69

def receiver
  @receiver
end