Sha256: 104c9c69d6bcdddac480c5adebd242fc781eae338babd8b71e3ffe4a8224e410
Contents?: true
Size: 787 Bytes
Versions: 2
Compression:
Stored size: 787 Bytes
Contents
module Zuora module Dispatcher # Maps a SOAP call name and args to its corresponding class. class << self def create Zuora::Calls::Create end def update Zuora::Calls::Update end def login Zuora::Calls::Login end def subscribe Zuora::Calls::Subscribe end def amend Zuora::Calls::Amend end def query Zuora::Calls::Query end def delete Zuora::Calls::Delete end def generate Zuora::Calls::Generate end def method_missing fail "Unknown SOAP API call name: #{call_name}. Must be one of :create, :update, :login, subscribe, :amend, or :delete." end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zuora-ruby-0.4.0 | lib/zuora/dispatcher.rb |
zuora-ruby-0.3.0 | lib/zuora/dispatcher.rb |