Module: Postal
- Extended by:
- Postal
- Included in:
- Postal
- Defined in:
- lib/postal.rb,
lib/postal/base.rb,
lib/postal/list.rb,
lib/postal/member.rb,
lib/postal/mailing.rb,
lib/postal/lmapi/lmapi.rb,
lib/postal/lmapi/lmapi_driver.rb,
lib/postal/lmapi/lmapi_mapping_registry.rb
Defined Under Namespace
Modules: Lmapi Classes: Base, CouldNotCreateMember, CouldNotSendMailing, CouldNotUpdateMember, List, Mailing, Member, WouldDeleteAllMembers
Constant Summary collapse
- VERSION =
'0.1.0'
- LOGGER =
Logger.new(STDOUT)
- DEFAULT_OPTIONS =
{ :debug => false }
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#driver ⇒ Object
Make a driver instance available at Postal.driver.
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
33 34 35 |
# File 'lib/postal.rb', line 33 def @options end |
Instance Method Details
#driver ⇒ Object
Make a driver instance available at Postal.driver
36 37 38 39 40 41 42 |
# File 'lib/postal.rb', line 36 def driver unless @driver @driver = Postal::Lmapi::Soap.new @driver.['protocol.http.basic_auth'] << [@options[:wsdl], @options[:username], @options[:password]] end return @driver end |