Class: BrasilAPI::Taxas

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

Constant Summary

Constants inherited from Base

Base::BASE_URL

Class Method Summary collapse

Methods inherited from Base

get

Class Method Details

.allObject



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

def all
  get("/taxas/v1")
end

.find_by_name(name) ⇒ Object



10
11
12
# File 'lib/brasil_api/taxas.rb', line 10

def find_by_name(name)
  get("/taxas/v1/#{name}")
end