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

(-)a/Koha/City.pm (-3 / +19 lines)
Lines 29-39 Koha::City - Koha City Object class Link Here
29
29
30
=head1 API
30
=head1 API
31
31
32
=head2 Class Methods
32
=head2 Class methods
33
34
=head3 to_api_mapping
35
36
This method returns the mapping for representing a Koha::City object
37
on the API.
33
38
34
=cut
39
=cut
35
40
36
=head3 type
41
sub to_api_mapping {
42
    return {
43
        cityid       => 'city_id',
44
        city_country => 'country',
45
        city_name    => 'name',
46
        city_state   => 'state',
47
        city_zipcode => 'postal_code'
48
    };
49
}
50
51
=head2 Internal methods
52
53
=head3 _type
37
54
38
=cut
55
=cut
39
56
40
- 

Return to bug 23770