class BusinessCentral::NoSupportedMethod
Public Class Methods
new(method, allowed_methods)
click to toggle source
# File lib/business_central/exceptions.rb, line 49 def initialize(method, allowed_methods) @method = method @allowed_methods = allowed_methods end
Public Instance Methods
message()
click to toggle source
# File lib/business_central/exceptions.rb, line 54 def message methods_allowed = @allowed_methods.join(', ') "#{@method} method is currently not support. Allowed methods are: #{methods_allowed}" end