Exception: Compass::Notification::UnknownProvider

Inherits:
StandardError
  • Object
show all
Defined in:
lib/compass/notification/provider.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(provider_name, available_providers) ⇒ UnknownProvider

Returns a new instance of UnknownProvider.



6
7
8
9
10
# File 'lib/compass/notification/provider.rb', line 6

def initialize(provider_name, available_providers)
  @provider_name = provider_name
  @available_providers = available_providers
  super("Notification provider '#{provider_name}' not found")
end

Instance Attribute Details

#available_providersObject (readonly)

Returns the value of attribute available_providers.



4
5
6
# File 'lib/compass/notification/provider.rb', line 4

def available_providers
  @available_providers
end

#provider_nameObject (readonly)

Returns the value of attribute provider_name.



4
5
6
# File 'lib/compass/notification/provider.rb', line 4

def provider_name
  @provider_name
end