Group
Extension

Matches 35358

Net-Upwork-API ( U/UP/UPWORK/Net-Upwork-API-2.3.0.tar.gz, UPWORK, 2024; MetaCPAN )
Net-Upwork-API/lib/Net/Upwork/API/Routers/Organization/Teams.pm ( view source; MetaCPAN )
it_router($class, $api, ENTRY_POINT);
}

=item get_list

    Get Teams Info

B<Return value>

    JSON response as a string

=cut

sub get_list {
    my $self = shift;

    die "The legacy API was dep
n_team

    Get Users in Team

B<Parameters>

$team_ref

    Team reference

B<Return value>

    JSON response as a string

=cut

sub get_users_in_team {
    my $self = shift;
    my $team_ref = shif
Net-Upwork-API ( U/UP/UPWORK/Net-Upwork-API-2.3.0.tar.gz, UPWORK, 2024; MetaCPAN )
Net-Upwork-API/lib/Net/Upwork/API/Routers/Hr/Clients/Applications.pm ( view source; MetaCPAN )
   Get list of applications

B<Parameters>

$params

    Hash of parameters

B<Return value>

    JSON response as a string

=cut

sub get_list {
    my $self = shift;
    my %params = @_;

    die "T
rs>

$reference

    Application reference

$params

    Hash of parameters

B<Return value>

    JSON response as a string

=cut

sub get_specific {
    my $self = shift;
    my $reference = shift;
 
Net-Upwork-API ( U/UP/UPWORK/Net-Upwork-API-2.3.0.tar.gz, UPWORK, 2024; MetaCPAN )
Net-Upwork-API/lib/Net/Upwork/API/Routers/Jobs/Search.pm ( view source; MetaCPAN )
m find

    Search profiles

B<Parameters>

$params

    Hash of parameters

B<Return value>

    JSON response as a string

=cut

sub find {
    my $self = shift;
    my %params = @_;

    die "The l
Daje-Generate ( J/JA/JANESKIL/Tools/Daje-Generate-0.09.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Generate/lib/Daje/Generate/Perl/Base/Common.pm ( view source; MetaCPAN )
ass';


class Daje::Generate::Perl::Base::Common {
    field $template :param :reader;
    field $json :param :reader;

};


1;

#################### pod generated by Pod::Autopod - keep this line to 
Amazon-SQS-Client ( B/BI/BIGFOOT/Amazon-SQS-Client-2.0.7.tar.gz, BIGFOOT, 2024; MetaCPAN )
Amazon-SQS-Client/lib/Amazon/SQS/Config.pm ( view source; MetaCPAN )
control how messages are processed.

  [handler]
  class = MyHandler
  message_type = application/json
  max_children = 1

=over 5

=item class

Name of the class that implements your handler.  If you
 be one of 'text/plain', 'application/json',
or 'application/x-www-form-urlencoded'.

If the message type is 'application/json' it will be decoded using the
L<JSON> class. If the message type is
'appl
Daje-Generate ( J/JA/JANESKIL/Tools/Daje-Generate-0.09.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Generate/lib/Daje/Generate/Sql/Script/Fields.pm ( view source; MetaCPAN )
Fields -- create the fields part of a create table script
#
# SYNOPSIS
# ========
#     my $json = from_json( qq (
#         {
#             "fields": {
#                 "userid": "varchar",
#       
plates'
#       );
#
#       my $fields = GenerateSQL::Sql::Table::Fields->new(
#           json     => $json,
#           template => $template,
#       );
#
#       $fields->create_fields();
#      
fields->sql;
#
# METHODS
# =======
#       create_fields() Create the SQL for field creation from JSON
#       get_defaults($datatype) Get defaults part for the sql datatype
#
#
#

class Daje::Generat
App-TodoList ( O/OL/OLOOEEZ/App-TodoList-1.0.0.tar.gz, OLOOEEZ, 2024; MetaCPAN )
App-TodoList/lib/App/TodoList.pm ( view source; MetaCPAN )
package App::TodoList;

use strict;
use warnings;

use JSON;
use File::HomeDir;
use File::Spec;

our $VERSION = '1.0.0'; 

sub new {
    my ($class, %args) = @_;

    my $home_dir = File::HomeDir->my_
home;
    my $file = File::Spec->catfile($home_dir, '.tasks.json');

    my $self = {
        file  => $args{file} || $file,
        tasks => [],
    };

    bless $self, $class;

    $self->_load_tas
 file '$self->{file}': $!";
        local $/;
        my $json = <$fh>;
        close $fh;
        $self->{tasks} = decode_json($json) if $json;
    }
}

sub _save_tasks {
    my ($self) = @_;
    ope
Daje-Generate ( J/JA/JANESKIL/Tools/Daje-Generate-0.09.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Generate/lib/Daje/Generate/Sql/Script/Index.pm ( view source; MetaCPAN )
 = "";

    method create_index {
        my $sql = "";
        my $json = $self->json->{index};
        my $length = scalar @{$json};
        for (my $i = 0; $i < $length; $i++) {
            my $tem
pe>>/@{$json}[$i]->{type}/ig;
            $template =~ s/<<fields>>/@{$json}[$i]->{fields}/ig;
            @{$json}[$i]->{fields} =~ s/,/_/ig;
            $template =~ s/<<field_names>>/@{$json}[$i]->
At ( S/SA/SANKO/At-0.19.tar.gz, SANKO, 2024; MetaCPAN )
At/builder/At/Builder.pm ( view source; MetaCPAN )
Spec::Functions qw[catfile catdir rel2abs abs2rel splitdir curdir];
    use JSON::PP 2            qw[encode_json decode_json];

    # Not in CORE
    use Path::Tiny qw[path];
    use ExtUtils::Helpers
  #
    field $action : param //= 'build';
    field $meta : reader = CPAN::Meta->load_file('META.json');

    # Params to Build script
    field $install_base : param  //= '';
    field $installdirs 
 param       //= '';
    field $prefix : param        //= '';
    #
    ADJUST {
        -e 'META.json' or die "No META information provided\n";
    }
    method write_file( $filename, $content ) { pa
Daje-Generate ( J/JA/JANESKIL/Tools/Daje-Generate-0.09.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Generate/lib/Daje/Generate/Input/Sql/ConfigManager.pm ( view source; MetaCPAN )
:Operations;
    use Daje::Generate::Tools::FileChanged;

    use Mojo::File;
    use Mojo::JSON qw{from_json};

    field $source_path :param :reader = "";
    field $files :reader = {};
    field $f

    }

    method load_json($file) {
        my $context;
        try {
            $context =  Mojo::File->new($file)->slurp;
        } catch ($e) {
            die "load_json failed '$e";
        }
pod - keep this line to make pod updates possible ####################


=head1 REQUIRES

L<Mojo::JSON> 

L<Mojo::File> 

L<Daje::Generate::Tools::FileChanged> 

L<Daje::Generate::Database::Operations
Daje-Generate ( J/JA/JANESKIL/Tools/Daje-Generate-0.09.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Generate/lib/Daje/Generate/Sql/Script/Sql.pm ( view source; MetaCPAN )
";
        my $json = $self->json->{sql};
        my $length = scalar @{$json};
        for (my $i = 0; $i < $length; $i++) {
            my $type = $self->template->get_section(@{$json}[$i]->{type});
ablename/ig;
                    $template =~ s/<<fields>>/@{$json}[$i]->{fields}/ig;
                    $template =~ s/<<values>>/@{$json}[$i]->{values}/ig;
                }
                default
Mail-Colander ( P/PO/POLETTIX/Mail-Colander-0.004.tar.gz, POLETTIX, 2024; MetaCPAN )
Mail-Colander/lib/Mail/Colander/Server.pm ( view source; MetaCPAN )
::Mail::ESMTP;
use JSON::PP ();

use Exporter qw< import >;
our @EXPORT_OK = qw<
   mojo_ioloop_server_callback_factory
>;
our %EXPORT_TAGS = (all => \@EXPORT_OK);

sub _encode_json_pretty ($data) {
 
  state $encoder = JSON::PP->new->ascii->canonical->pretty;
   return $encoder->encode($data);
}

sub _require_class_module ($module) {
   require_module($module) unless $module->can('new');
   return

      $log->trace(_encode_json_pretty($call_sequence))
         if $log->is_trace;

      $out eq 'accept';
   }
   catch {
      my $e = $_;
      $log->error(_encode_json_pretty($e->data));
      u
At ( S/SA/SANKO/At-0.19.tar.gz, SANKO, 2024; MetaCPAN )
At/lib/At/Protocol/URI.pm ( view source; MetaCPAN )
st one char
    #~       - regardless of path component, a fragment can follow  as "#" and then a JSON pointer (RFC-6901)
    sub ensureValidAtUri($uri) {
        my $fragmentPart;
        my @uriPart
Daje-Generate ( J/JA/JANESKIL/Tools/Daje-Generate-0.09.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Generate/lib/Daje/Generate/Perl/Generate/Methods.pm ( view source; MetaCPAN )
elds->select();
        my $p_key = $self->fields->primary_key();
        my $table_name = $self->json->{table_name};

        $tpl =~ s/<<select_fields>>/$select/ig;
        $tpl =~ s/<<primary_key>>
      my $tpl = $self->template->get_data_section('update_data');
        my $table_name = $self->json->{table_name};
        $tpl =~ s/<<table_name>>/$table_name/ig;
        return $tpl;
    }

    m
      my $tpl = $self->template->get_data_section('insert_data');
        my $table_name = $self->json->{table_name};
        $tpl =~ s/<<table_name>>/$table_name/ig;
        return $tpl;
    }

    m
Dist-Zilla-Plugin-MakeMaker-Fallback ( E/ET/ETHER/Dist-Zilla-Plugin-MakeMaker-Fallback-0.033.tar.gz, ETHER, 2024; MetaCPAN )
Dist-Zilla-Plugin-MakeMaker-Fallback/lib/Dist/Zilla/Plugin/MakeMaker/Fallback.pm ( view source; MetaCPAN )
manager. Remember: build tools should always
#pod favour Build.PL over Makefile.PL, and (MY)?META.json over (MY)?META.yml.
#pod
#pod If you're installing manually, please retrain your fingers to run B
ch
#pod indicates a failure of the user or the tools to read and understand F<META.yml> or F<META.json>.
#pod
#pod It is a fatal error to use this plugin when there is not also another
#pod plugin ena
 manager. Remember: build tools should always
    favour Build.PL over Makefile.PL, and (MY)?META.json over (MY)?META.yml.

    If you're installing manually, please retrain your fingers to run Build.
Daje-Generate ( J/JA/JANESKIL/Tools/Daje-Generate-0.09.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Generate/lib/Daje/GenerateSchema.pm ( view source; MetaCPAN )
:JSON qw{to_json};
    use Daje::Generate::Perl::CreateSchema;
    use Mojo::Pg;

    method process () {
        $self->_load_config();
        my $schema = $self->_load_db_schema();
        my $json
 = $self->_build_json($schema);
        $self->_save_json($json);

        return 1;
    }

    method _load_db_schema() {
        my $connection = $self->config->{DATABASE}->{connection};
        my 
  return $dbschema;
    }

    method _build_json($schema) {
        my $json = to_json($schema);

        return $json;
    }

    method _save_json($json) {

        my $path = $self->config->{DATAB
Daje-Generate ( J/JA/JANESKIL/Tools/Daje-Generate-0.09.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Generate/lib/Daje/GeneratePerl.pm ( view source; MetaCPAN )
Mojo::JSON qw{from_json};
use Mojo::File;
use Daje::Generate::Perl::PerlManager;

sub process($self) {
    $self->_load_config();
    my $json = $self->_get_json();
    $self->_create_perl($json);
}

sub _create_perl($self, $json) {
    my $template = $self->_load_templates(
        'Daje::Generate::Templates::Perl',
        "class,method,baseclass,interface,load_from_pkey,load_from_fkey,load_list
plate,
        json        => $json,
    )->generate_classes();

    return $manager->success()
}

sub _get_json($self) {
    my $path = $self->config->{PATH}->{schema_dir};
    my $json_txt = Mojo::F
Daje-Generate ( J/JA/JANESKIL/Tools/Daje-Generate-0.09.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Generate/lib/Daje/Generate/Sql/SqlManager.pm ( view source; MetaCPAN )
ated SQL scripts from JSON file
#
# Synopsis
# ========
#
# use Daje::Generate::Sql::SqlManager;
#
# my $table = Daje::Generate::Sql::SqlManager->new(
#       json        => $json,
#       template   
      my $json_arr = $self->json;
        my $length = scalar @{$json_arr};
        for (my $i = 0; $i < $length; $i++) {
            my $json = @{$json_arr}[$i];
            if (exists($json->{versio
n})) {
                $sections .= $self->_version($json->{version});
            }
        }
        $self->set_sql($self->create_file($sections));
        return ;
    }

    method _version($versi
Daje-Generate ( J/JA/JANESKIL/Tools/Daje-Generate-0.09.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Generate/lib/Daje/Generate/Sql/Script/ForeignKey.pm ( view source; MetaCPAN )
key} = "";
        $templates->{template_ind} = "";
        try {
            my $fields = $self->json->{fields};
            foreach my $key (sort keys %{$fields}) {
                if (index($key,'_
Daje-Generate ( J/JA/JANESKIL/Tools/Daje-Generate-0.09.tar.gz, JANESKIL, 2024; MetaCPAN )
Daje-Generate/lib/Daje/Generate/Output/Sql/Table.pm ( view source; MetaCPAN )
config->{PATH}->{sql_target_dir} . Mojo::File->new($file)->basename();
            $filename =~ s/json/sql/ig;
        } catch ($e) {
            die "create_new_filename failed '$e'";
        };

   

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