class AfipPublic::AfipPublicService

Public Class Methods

new() click to toggle source
# File lib/afip_public.rb, line 15
def initialize()
  @options = { }
end

Public Instance Methods

handle_timeouts() { || ... } click to toggle source
# File lib/afip_public.rb, line 19
def handle_timeouts
  begin
    yield
  rescue Net::OpenTimeout, Net::ReadTimeout
    {}
  end
end