Group
Extension

Matches 5

WebService-GrowthBook ( D/DE/DERIV/WebService-GrowthBook-0.003.tar.gz, DERIV, 2024; MetaCPAN )
WebService-GrowthBook/lib/WebService/GrowthBook.pm ( view source; MetaCPAN )


use strict;
use warnings;
no indirect;
use feature qw(state);
use Object::Pad;
use JSON::MaybeUTF8 qw(decode_json_text);
use Scalar::Util qw(blessed);
use Data::Compare qw(Compare);
use Log::Any qw(
 = $instance->get_feature_value('number_feature');
    # get decoded json
    my $json_feature = $instance->get_feature_value('json_feature');

=head1 DESCRIPTION

    This module is a sdk of growthbo
WebService-GrowthBook ( D/DE/DERIV/WebService-GrowthBook-0.003.tar.gz, DERIV, 2024; MetaCPAN )
WebService-GrowthBook/lib/WebService/GrowthBook/Eval.pm ( view source; MetaCPAN )
'import';
use Scalar::Util qw(looks_like_number);
use Data::Dumper;
use Syntax::Keyword::Try;
use JSON::MaybeXS qw(is_bool);

our $VERSION = '0.003'; ## VERSION

our @EXPORT_OK = qw(eval_condition);

WebService-GrowthBook ( D/DE/DERIV/WebService-GrowthBook-0.003.tar.gz, DERIV, 2024; MetaCPAN )
WebService-GrowthBook/lib/WebService/GrowthBook/FeatureRepository.pm ( view source; MetaCPAN )
use Log::Any qw($log);
use Digest::MD5 qw(md5_base64);
use Syntax::Keyword::Try;
use JSON::MaybeUTF8 qw(decode_json_utf8);
use WebService::GrowthBook::InMemoryFeatureCache;

our $VERSION = '0.003'; ##
          my $decoded = decode_json_utf8($r->{content});
            return $decoded;
        }
        catch ($e){
            $log->warnf("Failed to decode feature JSON from GrowthBook API: %s", $e)

    }
    method _get($url){
        my $headers = {
            'Content-Type'  => 'application/json',
        };

        return  $http->get($url, {headers => $headers});
    }

    method _get_fea
WebService-GrowthBook ( D/DE/DERIV/WebService-GrowthBook-0.003.tar.gz, DERIV, 2024; MetaCPAN )
WebService-GrowthBook/lib/WebService/GrowthBook/FeatureResult.pm ( view source; MetaCPAN )
FeatureResult;
use strict;
use warnings;
no indirect;
use Object::Pad;
use Log::Any qw($log);
use JSON::MaybeXS;

our $VERSION = '0.003'; ## VERSION

class WebService::GrowthBook::FeatureResult{
    f
WebService-GrowthBook ( D/DE/DERIV/WebService-GrowthBook-0.003.tar.gz, DERIV, 2024; MetaCPAN )
WebService-GrowthBook/lib/WebService/GrowthBook.pod ( view source; MetaCPAN )
 = $instance->get_feature_value('number_feature');
    # get decoded json
    my $json_feature = $instance->get_feature_value('json_feature');

=head1 DESCRIPTION

    This module is a sdk of growthbo

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