Sha256: 48cacb481d6e720d3bdfd2eb773e409606ea77de4cddd06356b71472d38ab140
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
module Moneta module Api class Service include ServiceMethods attr_reader :client def initialize(username, password, params = {}) @client = Savon.client(prepare_params(username, password, params)) end private def prepare_params(username, password, params) { wsdl: 'https://demo.moneta.ru/services.wsdl', wsse_auth: [ username, password ] } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
moneta-api-1.0.0 | lib/moneta/api/service.rb |