Sha256: 009e0eee987cac6ae004346372b5b6e91fc5104ba2bcae72e88b941a2450e739
Contents?: true
Size: 871 Bytes
Versions: 5
Compression:
Stored size: 871 Bytes
Contents
module ProcessingKz def self.config(&block) Config.set(&block) end class Config def self.set(&block) instance_eval(&block) end def self.merchant_id=(merchant_id) @@merchant_id = merchant_id end def self.merchant_id @@merchant_id end def self.currency_code=(currency_code) @@currency_code = currency_code end def self.currency_code @@currency_code end def self.language_code=(language_code) raise UnsupportedLanguageError unless ['ru', 'en', 'kz'].include?(language_code) @@language_code = language_code end def self.language_code @@language_code end def self.wsdl=(wsdl) @@wsdl = wsdl end def self.wsdl @@wsdl end def self.host=(host) @@host = host end def self.host @@host end end end
Version data entries
5 entries across 5 versions & 1 rubygems