Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Clean up accessor slightly #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions lib/marketingcloudsdk/soap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ def unpack_rslts raw
end

module Soap
attr_accessor :wsdl, :debug#, :internal_token
attr_accessor :debug#, :internal_token
attr_writer :wsdl

DEFAULT_WSDL = 'https://webservice.exacttarget.com/etframework.wsdl'.freeze

include MarketingCloudSDK::Targeting

Expand All @@ -131,7 +134,7 @@ def debug
end

def wsdl
@wsdl ||= 'https://webservice.exacttarget.com/etframework.wsdl'
@wsdl || DEFAULT_WSDL
end

def soap_client
Expand Down