| 1 | package RWDE::DB::Immutable; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use vars qw($VERSION); | ||
| 7 | $VERSION = sprintf "%d", q$Revision: 508 $ =~ /(\d+)/; | ||
| 8 | |||
| 9 | sub update_record { | ||
| 10 | my ($self, $params) = @_; | ||
| 11 | |||
| 12 | return throw RWDE::DevelException({ info => 'You may not modify or update immutable records through the API' . $self }); | ||
| 13 | } | ||
| 14 | |||
| 15 | sub create_record { | ||
| 16 | my ($self, $params) = @_; | ||
| 17 | |||
| 18 | return throw RWDE::DevelException({ info => 'You may not modify or update immutable records through the API' . $self }); | ||
| 19 | } | ||
| 20 | |||
| 21 | 1; |