Created
January 12, 2012 14:18
-
-
Save eagleas/1600770 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Webmoney | |
# Presets for interfaces | |
def interface_urls | |
{ | |
:create_invoice => { :url => w3s_url + 'XMLInvoice.asp', :x509 => true } # x1 | |
#... | |
:check_owner => { :url => 'https://apipassport.webmoney.ru/XMLCheckUser.aspx', # x19 | |
:x509 => lambda {|url| url.sub(/\.aspx$/, 'Cert.aspx')} } | |
:bussines_level => { :url => 'https://stats.wmtransfer.com/levels/XMLWMIDLevel.aspx' } | |
#... | |
} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment