# ABSTRACT: An OO interface to UrbanDictionary.com's JSON API.
our $VERSION = "2.015";
use Carp;
use strict;
use warnings;
use Moo;
use JSON;
use LWP::UserAgent;
use WebService::UrbanDictionary::
= shift or carp "No term provided.";
my $url = $self->_end_point_url . $term;
my $res = decode_json $self->_ua->get( $url )->decoded_content or carp "Error during fetch/decode.";
$res->{term} = $t
_END__
=pod
=head1 NAME
WebService::UrbanDictionary - An OO interface to UrbanDictionary.com's JSON API.
=head1 VERSION
version 2.015
=head1 SYNOPSIS
use WebService::UrbanDictionary;
my $ud