3M SIP2 Extensions groundwork and Patron Info popoulation
[koha-ffzg.git] / C4 / SIP / Sip / Configuration / Institution.pm
index cdd8a08..1e50af2 100644 (file)
@@ -15,8 +15,8 @@ sub new {
     my $type = ref($class) || $class;
 
     if (ref($obj) eq "HASH") {
-       # Just bless the object
-       return bless $obj, $type;
+    # Just bless the object
+    return bless $obj, $type;
     }
 
     return bless {}, $type;
@@ -27,11 +27,31 @@ sub name {
     return $self->{name};
 }
 
+sub id {
+    my $self = shift;
+    return $self->{id};
+}
+
+sub implementation {
+    my $self = shift;
+    return $self->{implementation};
+}
+
 sub policy {
     my $self = shift;
     return $self->{policy};
 }
 
+# 'policy' => {
+#     'checkout' => 'true',
+#     'retries' => 5,
+#     'checkin' => 'true',
+#     'timeout' => 25,
+#     'status_update' => 'false',
+#     'offline' => 'false',
+#     'renewal' => 'true'
+# },
+
 sub parms {
     my $self = shift;
     return $self->{parms};