Class: Ridley::Errors::CommandNotProvided
- Inherits:
-
RemoteCommandError
- Object
- RidleyError
- RemoteCommandError
- Ridley::Errors::CommandNotProvided
- Defined in:
- lib/ridley-connectors/errors.rb
Instance Attribute Summary collapse
-
#connector_type ⇒ Object
readonly
Returns the value of attribute connector_type.
Instance Method Summary collapse
-
#initialize(connector_type) ⇒ CommandNotProvided
constructor
A new instance of CommandNotProvided.
- #to_s ⇒ Object
Constructor Details
#initialize(connector_type) ⇒ CommandNotProvided
Returns a new instance of CommandNotProvided.
20 21 22 |
# File 'lib/ridley-connectors/errors.rb', line 20 def initialize(connector_type) @connector_type = connector_type end |
Instance Attribute Details
#connector_type ⇒ Object (readonly)
Returns the value of attribute connector_type.
17 18 19 |
# File 'lib/ridley-connectors/errors.rb', line 17 def connector_type @connector_type end |
Instance Method Details
#to_s ⇒ Object
24 25 26 |
# File 'lib/ridley-connectors/errors.rb', line 24 def to_s "No command provided in #{connector_type.inspect}, however the #{connector_type.inspect} connector was selected." end |