Module: Connect::WebService::Connection
- Included in:
- Client
- Defined in:
- lib/connect/web_service/connection.rb
Instance Method Summary collapse
Instance Method Details
#create_connection(client) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/connect/web_service/connection.rb', line 6 def create_connection(client) auth_data = [client.login, client.password] Savon.client( wsdl: 'https://cus.1c-connect.com/cus/ws/PartnerWebAPI2?wsdl', basic_auth: auth_data ) end |