Class: BrasilAPI::Company

Inherits:
Base
  • Object
show all
Defined in:
lib/brasil_api/company.rb

Constant Summary

Constants inherited from Base

Base::BASE_URL

Class Method Summary collapse

Methods inherited from Base

get

Class Method Details

.find_by_cnpj(documentation) ⇒ Object



6
7
8
# File 'lib/brasil_api/company.rb', line 6

def find_by_cnpj(documentation)
  get("/cnpj/v1/#{documentation}")
end