module Laximo

encoding: utf-8

encoding: utf-8

encoding: utf-8

Constants

ERRORS
REQUEST_LOGIN_MSG
VERSION

Public Instance Methods

am() click to toggle source
# File lib/laximo.rb, line 31
def am
  ::Laximo::Am.new
end
deprecated!() click to toggle source
# File lib/laximo.rb, line 55
def deprecated!

  puts "***"
  puts "*** DEPRECATION WARNING! Method `#{caller[0][/`.*'/][1..-2]}` is deprecated and will not support in the future"
  puts "***"

end
oem() click to toggle source
# File lib/laximo.rb, line 35
def oem
  ::Laximo::Oem.new
end
options() click to toggle source
# File lib/laximo.rb, line 27
def options
  ::Laximo::Options
end
tryer(try_iter: 10, time: 61) { || ... } click to toggle source
# File lib/laximo.rb, line 39
def tryer(try_iter: 10, time: 61)

  cl = caller[0][/`.*'/][1..-2]
  yield

rescue ::Laximo::SoapTooManyRequestError

  try_iter = try_iter - 1

  puts "[Method: #{cl}] Waiting #{time} sec."
  sleep time

  try_iter > 0 ? retry : raise

end