module Trackerific::Services::Concerns::SOAP

Protected Instance Methods

client() click to toggle source
# File lib/trackerific/services/concerns/soap.rb, line 10
def client
  @client ||= Savon.client(
    convert_request_keys_to: :camelcase,
    wsdl: Trackerific::SOAP::WSDL.path(config.wsdl))
end
request(id) click to toggle source
# File lib/trackerific/services/concerns/soap.rb, line 6
def request(id)
  client.call(config.track_operation, message: builder(id).hash)
end