| 1 | =head1 LICENSE | ||
| 2 | |||
| 3 | See the NOTICE file distributed with this work for additional information | ||
| 4 | regarding copyright ownership. | ||
| 5 | |||
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 7 | you may not use this file except in compliance with the License. | ||
| 8 | You may obtain a copy of the License at | ||
| 9 | |||
| 10 | http://www.apache.org/licenses/LICENSE-2.0 | ||
| 11 | |||
| 12 | Unless required by applicable law or agreed to in writing, software | ||
| 13 | distributed under the License is distributed on an "AS IS" BASIS, | ||
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 15 | See the License for the specific language governing permissions and | ||
| 16 | limitations under the License. | ||
| 17 | |||
| 18 | =cut | ||
| 19 | |||
| 20 | |||
| 21 | =head1 CONTACT | ||
| 22 | |||
| 23 | Please email comments or questions to the public Ensembl | ||
| 24 | developers list at <http://lists.ensembl.org/mailman/listinfo/dev>. | ||
| 25 | |||
| 26 | Questions may also be sent to the Ensembl help desk at | ||
| 27 | <http://www.ensembl.org/Help/Contact>. | ||
| 28 | |||
| 29 | =cut | ||
| 30 | |||
| 31 | =head1 NAME | ||
| 32 | |||
| 33 | Bio::EnsEMBL::ApiVersion | ||
| 34 | |||
| 35 | =head1 SYNOPSIS | ||
| 36 | |||
| 37 | use Bio::EnsEMBL::ApiVersion; | ||
| 38 | |||
| 39 | printf( "The API version used is %s\n", software_version() ); | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | The module exports the software_version() subroutine which returns the | ||
| 44 | release version of the Ensembl Core API. | ||
| 45 | |||
| 46 | =cut | ||
| 47 | |||
| 48 | package Bio::EnsEMBL::ApiVersion; | ||
| 49 | $Bio::EnsEMBL::ApiVersion::VERSION = '114.0.0'; | ||
| 50 | use strict; | ||
| 51 | use warnings; | ||
| 52 | |||
| 53 | use Exporter; | ||
| 54 | |||
| 55 | use base qw( Exporter ); | ||
| 56 | |||
| 57 | our @EXPORT = qw( software_version ); | ||
| 58 | |||
| 59 | my $API_VERSION = 114; | ||
| 60 | |||
| 61 | sub software_version { return $API_VERSION } | ||
| 62 | |||
| 63 | 1; |