Module: Moniker
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/moniker/base.rb,
lib/moniker.rb,
lib/moniker/common.rb,
lib/moniker/domain.rb,
lib/moniker/record.rb,
lib/moniker/server.rb
Overview
This file is part of the Moniker-ActiveResource
Copyright © 2013 Unidata S.p.A. (Davide Guerri - [email protected])
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <www.gnu.org/licenses/>.
Defined Under Namespace
Classes: Base, Common, Domain, Record, Server
Constant Summary collapse
- DATETIME_FORMAT =
"%Y-%m-%dT%H:%M:%S"
- IPV4_REGEX =
/\A(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\Z/
- IPV4_CIDR_REGEX =
/\A(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/(3[0-2]|[1-2][0-9]|[0-9])\Z/