pwitab / visma

A Python Client library for integration to Visma eAccounting, Visma eEkonomi
http://visma.readthedocs.io
BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link

Meta options to limit API/HTTP functions #2

Closed Krolken closed 6 years ago

Krolken commented 6 years ago

Some endpoint only supports some functions. For example TermsOfPayment only supports GET_ALL (GET: /termsofpayment ) or GET_BY_ID ( GET /termsofpayment/{id}

Krolken commented 6 years ago

Now possible to state

class Meta:
   allowed_methods=['list', 'create', 'get', 'update', 'delete']