Class: PartyResource::Exceptions::NoConnector
- Defined in:
- lib/party_resource/exceptions.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ NoConnector
constructor
A new instance of NoConnector.
- #to_s ⇒ Object
Constructor Details
#initialize(name) ⇒ NoConnector
Returns a new instance of NoConnector.
18 19 20 |
# File 'lib/party_resource/exceptions.rb', line 18 def initialize(name) @name = name end |
Instance Method Details
#to_s ⇒ Object
22 23 24 |
# File 'lib/party_resource/exceptions.rb', line 22 def to_s "Connector '#{@name}' has not been defined" end |