lib/zuora/dispatcher.rb in zuora-ruby-0.6.0 vs lib/zuora/dispatcher.rb in zuora-ruby-0.7.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
module Zuora
module Dispatcher
# Maps a SOAP call name and args to its corresponding class.
class << self
@@ -38,10 +40,10 @@
def generate
Zuora::Calls::Generate
end
def method_missing
- fail "Unknown SOAP API call name: #{call_name}.
+ raise "Unknown SOAP API call name: #{call_name}.
Must be one of :create, :update, :login,
subscribe, :amend, or :delete."
end
end
end