Class: PartyResource::Exceptions::NoConnector

Inherits:
Error
  • Object
show all
Defined in:
lib/party_resource/exceptions.rb

Instance Method Summary collapse

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_sObject



22
23
24
# File 'lib/party_resource/exceptions.rb', line 22

def to_s
  "Connector '#{@name}' has not been defined"
end