NAME
Mojo::Cloudflare::RecordSet - A set of Mojo::Cloudflare::Record objects
DESCRIPTION
Mojo::Cloudflare::RecordSet holds a list of Mojo::Cloudflare::Record objects.
METHODS
all
@records = $self->all;
Returns a list of Mojo::Cloudflare::Record objects.
single
$record = $self->single(sub { $_->name =~ /^foo/ });
Used find a single record from "all". undef
is returned if no records match.
NOTE! This will only return the first record found.
COPYRIGHT AND LICENSE
Copyright (C) 2014, Jan Henning Thorsen
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
AUTHOR
Jan Henning Thorsen - jhthorsen@cpan.org