Sha256: 66af11e06f98cd2a714cd374cb32c5fd0d1e5bea6600257078d15e2bd1b2d348
Contents?: true
Size: 851 Bytes
Versions: 2
Compression:
Stored size: 851 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 query_more Zuora::Calls::QueryMore 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.6.0 | lib/zuora/dispatcher.rb |
zuora-ruby-0.5.0 | lib/zuora/dispatcher.rb |