Exception: Simple::Service::NoSuchAction
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Simple::Service::NoSuchAction
- Defined in:
- lib/simple/service/errors.rb
Overview
Will be raised by ::Simple::Service.action.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#service ⇒ Object
readonly
Returns the value of attribute service.
Instance Method Summary collapse
-
#initialize(service, name) ⇒ NoSuchAction
constructor
A new instance of NoSuchAction.
- #to_s ⇒ Object
Constructor Details
#initialize(service, name) ⇒ NoSuchAction
Returns a new instance of NoSuchAction
5 6 7 |
# File 'lib/simple/service/errors.rb', line 5 def initialize(service, name) @service, @name = service, name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
4 5 6 |
# File 'lib/simple/service/errors.rb', line 4 def name @name end |
#service ⇒ Object (readonly)
Returns the value of attribute service
4 5 6 |
# File 'lib/simple/service/errors.rb', line 4 def service @service end |