module Laximo::Options

Public Instance Methods

am_soap_action(str = nil) click to toggle source
# File lib/laximo/options.rb, line 44
def am_soap_action(str = nil)

  return @am_soap_action if str.nil?
  @am_soap_action = str

end
am_soap_endpoint(str = nil) click to toggle source
# File lib/laximo/options.rb, line 51
def am_soap_endpoint(str = nil)

  return @am_soap_endpoint if str.nil?
  @am_soap_endpoint = str

end
debug(str = nil) click to toggle source
# File lib/laximo/options.rb, line 36
def debug(str = nil)
  @debug = (str === true)
end
debug?() click to toggle source
# File lib/laximo/options.rb, line 40
def debug?
  @debug === true
end
locale(str = nil) click to toggle source
# File lib/laximo/options.rb, line 72
def locale(str = nil)

  return @locale if str.nil?
  @locale = str

end
login(str = nil) click to toggle source
# File lib/laximo/options.rb, line 8
def login(str = nil)

  return @login if str.nil?
  @login = str

end
oem_soap_action(str = nil) click to toggle source
# File lib/laximo/options.rb, line 58
def oem_soap_action(str = nil)

  return @oem_soap_action if str.nil?
  @oem_soap_action = str

end
oem_soap_endpoint(str = nil) click to toggle source
# File lib/laximo/options.rb, line 65
def oem_soap_endpoint(str = nil)

  return @oem_soap_endpoint if str.nil?
  @oem_soap_endpoint = str

end
password(str = nil) click to toggle source
# File lib/laximo/options.rb, line 15
def password(str = nil)

  return @password if str.nil?
  @password = str

end
raise_on_empty_response(str = nil) click to toggle source
# File lib/laximo/options.rb, line 79
def raise_on_empty_response(str = nil)
  @raise_on_empty_response = (str === true)
end
raise_on_empty_response?() click to toggle source
# File lib/laximo/options.rb, line 83
def raise_on_empty_response?
  @raise_on_empty_response === true
end
timeout(str = nil) click to toggle source
# File lib/laximo/options.rb, line 22
def timeout(str = nil)

  return @timeout if str.nil?
  @timeout = String(str).to_i(10).abs

end
user_agent(str = nil) click to toggle source
# File lib/laximo/options.rb, line 29
def user_agent(str = nil)

  return @user_agent if str.nil?
  @user_agent = str

end