Bug 12948: Use word indexing for language (MARC21)
[koha.git] / C4 / SIP / Sip / Configuration / Account.pm
blob62ac12ab34805d8235f6bf0f449ec565987d3d0c
6 package C4::SIP::Sip::Configuration::Account;
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 id {
24 my $self = shift;
25 return $self->{id};
28 sub institution {
29 my $self = shift;
30 return $self->{institution};
33 sub password {
34 my $self = shift;
35 return $self->{password};