Class: Easybill::Api::PostBoxes
- Defined in:
- lib/easybill/api/post_boxes.rb
Constant Summary
Constants inherited from Base
Class Method Summary collapse
Methods inherited from Base
authenticate, destroy, find, list
Methods included from ResponseHandler
Class Method Details
.create(data) ⇒ Object
4 5 6 |
# File 'lib/easybill/api/post_boxes.rb', line 4 def self.create(data) raise Easybill::Errors::ResourceNotCreatableError, "Post boxes cannot get created via api." end |
.update(id, data) ⇒ Object
8 9 10 |
# File 'lib/easybill/api/post_boxes.rb', line 8 def self.update(id, data) raise Easybill::Errors::ResourceNotUpdatableError, "Post boxes cannot get updated via api." end |