Bug 12948: Use word indexing for language (MARC21)
[koha.git] / C4 / SIP / Sip / Configuration / Institution.pm
blob4a76e237310d8b7d16e87fca32d334ff1b059a54
6 package C4::SIP::Sip::Configuration::Institution;
8 use strict;
9 use warnings;
11 sub new {
12 my ($class, $obj) = @_;
13 my $type = ref($class) || $class;
15 if (ref($obj) eq "HASH") {
16 # Just bless the object
17 return bless $obj, $type;
20 return bless {}, $type;
23 sub name {
24 my $self = shift;
25 return $self->{name};
28 sub id {
29 my $self = shift;
30 return $self->{id};
33 sub implementation {
34 my $self = shift;
35 return $self->{implementation};
38 sub policy {
39 my $self = shift;
40 return $self->{policy};
43 # 'policy' => {
44 # 'checkout' => 'true',
45 # 'retries' => 5,
46 # 'checkin' => 'true',
47 # 'timeout' => 25,
48 # 'status_update' => 'false',
49 # 'offline' => 'false',
50 # 'renewal' => 'true'
51 # },
53 sub parms {
54 my $self = shift;
55 return $self->{parms};