Class: Easybill::Api::PostBoxes
- Inherits:
-
Base
- Object
- Base
- Easybill::Api::PostBoxes
show all
- Defined in:
- lib/easybill/api/post_boxes.rb
Constant Summary
Constants inherited
from Base
Base::HEADERS
Class Method Summary
collapse
Methods inherited from Base
authenticate, destroy, find, list
included
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
|