class Myfinance::Resources::Tax
A wrapper to Myfinance
taxes API
- API
-
Documentation: app.myfinance.com.br/docs/api/taxes
Public Instance Methods
find(id)
click to toggle source
Show a tax
- API
-
Method:
GET /taxes/:id
Documentation: app.myfinance.com.br/docs/api/taxes#get_show
# File lib/myfinance/resources/tax.rb, line 32 def find(id) http.get("/taxes/#{id}", body: {}) do |response| respond_with_object(response, "tax") end end
find_all()
click to toggle source
List all taxes
- API
-
Method:
GET /taxes
Documentation: app.myfinance.com.br/docs/api/taxes#get_index
# File lib/myfinance/resources/tax.rb, line 18 def find_all http.get("/taxes", body: {}) do |response| respond_with_collection(response) end end