Group
Extension

Matches 2

WebService-HabitRPG ( R/RH/RHOELZ/WebService-HabitRPG-0.30.tar.gz, RHOELZ, 2017; MetaCPAN )
WebService-HabitRPG/lib/WebService/HabitRPG.pm ( view source; MetaCPAN )
use Moo;
use WWW::Mechanize;
use Method::Signatures 20121201;
use WebService::HabitRPG::Task;
use JSON::MaybeXS;
use Data::Dumper;
use Carp qw(croak);

our $DEBUG = $ENV{HRPG_DEBUG} || 0;
our $TAG_PRE
);
has 'api_base'   => (is => 'ro', default => sub { 'https://habitica.com/api/v3' });
has '_last_json' => (is => 'rw'); # For debugging
has 'tags'       => (is => 'rw');
has 'tag_prefix' => (is => 'r
= 1,
    :$down = 1,
    :$extend = {},
) {

    # Magical boolification for JSONification.
    # TODO: These work with JSON::XS. Do they work with other backends?

    $up   = $up   ? \1 : \0;
    $d
WebService-HabitRPG ( R/RH/RHOELZ/WebService-HabitRPG-0.30.tar.gz, RHOELZ, 2017; MetaCPAN )
WebService-HabitRPG/lib/WebService/HabitRPG/Task.pm ( view source; MetaCPAN )
package WebService::HabitRPG::Task;
use v5.010;
use strict;
use warnings;
use autodie;
use JSON::MaybeXS qw(is_bool);
use Moo;
use Scalar::Util qw(looks_like_number);
use POSIX qw(strftime);
use Carp 
($self, $args) = @_;

    # Since we're usually being called directly with the results of
    # a JSON parse, we want to record that original structure here.

    $self->_raw($args);
}


sub active_to

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.