Class: AfipPublic::Vencimiento

Inherits:
AfipPublicService show all
Defined in:
lib/afip_public.rb

Instance Method Summary collapse

Methods inherited from AfipPublicService

#handle_timeouts, #initialize

Constructor Details

This class inherits a constructor from AfipPublic::AfipPublicService

Instance Method Details

#base_pathObject



60
61
62
# File 'lib/afip_public.rb', line 60

def base_path
  "/av/v1/vencimientos/"
end

#get_personas(id_impuesto, cuit) ⇒ Object



70
71
72
73
74
# File 'lib/afip_public.rb', line 70

def get_personas(id_impuesto, cuit)
  handle_timeouts do
   self.class.get("#{ base_path }#{ id_impuesto }/#{ cuit }", @options)
  end
end

#get_vencimientos(cuit) ⇒ Object



64
65
66
67
68
# File 'lib/afip_public.rb', line 64

def get_vencimientos(cuit)
  handle_timeouts do
   self.class.get("#{ base_path }#{ cuit }", @options)
  end
end