module SendleAPI::NotSaveable

Public Class Methods

create(**args) click to toggle source
# File lib/sendle_api/not_saveable.rb, line 3
def self.create(**args)
  raise NotImplementedError, "This class is a non-writable resource."
end

Public Instance Methods

save() click to toggle source
# File lib/sendle_api/not_saveable.rb, line 7
def save
  raise NotImplementedError, "This object is a non-writable resource."
end
update() click to toggle source
# File lib/sendle_api/not_saveable.rb, line 11
def update
  save
end
update_attribute(**args) click to toggle source
# File lib/sendle_api/not_saveable.rb, line 15
def update_attribute(**args)
  save
end
update_attributes(**args) click to toggle source
# File lib/sendle_api/not_saveable.rb, line 19
def update_attributes(**args)
  save
end