class Gitomator::Exception::UnsupportedProviderMethod
This error will be thrown when a valid service method is called, but the underlying provider does not implement the given method.
Attributes
method[R]
provider[R]
Public Class Methods
new(provider, method)
click to toggle source
Calls superclass method
# File lib/gitomator/exceptions.rb, line 11 def initialize(provider, method) @provider = provider @method = method provider_name = provider.respond_to?(:name) ? provider.name : 'Unknown' super("#{provider_name} provider does not support the #{method} method.") end