Class: Easybill::Api::PostBoxes

Inherits:
Base
  • Object
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

Methods included from ResponseHandler

included

Class Method Details

.create(_data) ⇒ Object



6
7
8
# File 'lib/easybill/api/post_boxes.rb', line 6

def self.create(_data)
  raise Easybill::Errors::ResourceNotCreatableError, 'Post boxes cannot get created via api.'
end

.update(_id, _data) ⇒ Object



10
11
12
# File 'lib/easybill/api/post_boxes.rb', line 10

def self.update(_id, _data)
  raise Easybill::Errors::ResourceNotUpdatableError, 'Post boxes cannot get updated via api.'
end