View | Details | Raw Unified | Return to bug 27855
Collapse All | Expand All

(-)a/Koha/Patron/Attribute.pm (-1 / +15 lines)
Lines 112-117 sub description { Link Here
112
    return $self->attribute;
112
    return $self->attribute;
113
}
113
}
114
114
115
=head3 to_api_mapping
116
117
This method returns the mapping for representing a Koha::Patron::Attribute object
118
on the API.
119
120
=cut
121
122
sub to_api_mapping {
123
    return {
124
        id             => 'extended_attribute_id',
125
        attribute      => 'value',
126
        borrowernumber => undef,
127
        code           => 'type'
128
    };
129
}
115
130
116
=head2 Internal methods
131
=head2 Internal methods
117
132
118
- 

Return to bug 27855