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.



77
78
79
80
# File 'app/lib/katello/errors.rb', line 77

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

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action.



75
76
77
# File 'app/lib/katello/errors.rb', line 75

def action
  @action
end

#receiverObject (readonly)

Returns the value of attribute receiver.



75
76
77
# File 'app/lib/katello/errors.rb', line 75

def receiver
  @receiver
end