Class: AfipPublic::Padron
Instance Method Summary
collapse
#handle_timeouts, #initialize
Instance Method Details
#base_path ⇒ Object
32
33
34
|
# File 'lib/afip_public.rb', line 32
def base_path
"/sr-padron/"
end
|
#get_constancia(cuit) ⇒ Object
48
49
50
51
52
|
# File 'lib/afip_public.rb', line 48
def get_constancia(cuit)
handle_timeouts do
self.class.get("#{ base_path }v1/constancia/#{ cuit }", @options)
end
end
|
#get_persona(cuit) ⇒ Object
36
37
38
39
40
|
# File 'lib/afip_public.rb', line 36
def get_persona(cuit)
handle_timeouts do
self.class.get("#{ base_path }v2/persona/#{ cuit }", @options)
end
end
|
#get_personas(dni) ⇒ Object
42
43
44
45
46
|
# File 'lib/afip_public.rb', line 42
def get_personas(dni)
handle_timeouts do
self.class.get("#{ base_path }v2/personas/#{ dni }", @options)
end
end
|