Group
Extension

Matches 7

CHEF-REST-Client ( B/BP/BPATEL/CHEF-REST-Client-1.tar.gz, BPATEL, 2014; MetaCPAN )
CHEF-REST-Client/lib/CHEF/REST.pm ( view source; MetaCPAN )
EF
 push @INC, '/', @base;
};

use parent qw { CHEF CHEF::Header };
use LWP::UserAgent;
use Mojo::JSON;

sub new {
   my $class = shift;
   my $self  = $class->SUPER::new(@_);
   bless $self, $class;
	   );
	return $response;
}

sub post 
{
	my $self  = shift;
	my $param = {@_};
	my $mojo_json = new Mojo::JSON();
	my $response  = $self->add_headers( 
	                    $self->header(
		         
        'Path'    => $param->{'api_end_point'},
		                             'Content' => $mojo_json->encode($param->{'data'})
		                        )->hash
		                      )
		         
CHEF-REST-Client ( B/BP/BPATEL/CHEF-REST-Client-1.tar.gz, BPATEL, 2014; MetaCPAN )
CHEF-REST-Client/lib/CHEF/REST/Client/roles.pm ( view source; MetaCPAN )
Client::attributes;

$CHEF::REST::Client::roles::VERSION = 1.0;

# this module will be passed tha json parsed hash 
# under ___data__() or variable.
# process it depending on the content expected.

su
CHEF-REST-Client ( B/BP/BPATEL/CHEF-REST-Client-1.tar.gz, BPATEL, 2014; MetaCPAN )
CHEF-REST-Client/lib/CHEF/REST/Client/cookbooks.pm ( view source; MetaCPAN )
t all the cookbooks available. 

 $obj->cookbook()->list;

=cut

# this module will be passed tha json parsed hash 
# under ___data__() or variable.
# process it depending on the content expected.

su
CHEF-REST-Client ( B/BP/BPATEL/CHEF-REST-Client-1.tar.gz, BPATEL, 2014; MetaCPAN )
CHEF-REST-Client/lib/CHEF/REST/Client.pm ( view source; MetaCPAN )
base; #REST
 pop @base; #CHEF
 push @INC, '/', @base;
};

use parent qw { CHEF::REST };
use Mojo::JSON;
use Module::Load;
use vars qw { $AUTOLOAD };

sub new {
  my $class = shift;
  my $param = {@_};
lf = shift;
    my $end_point = $self->api_end_point;
    my $mojo_json = new Mojo::JSON();
    my $list_of_roles = 
       $mojo_json->decode(
             $self->ua(  'client_name'   => $self->name 
CHEF-REST-Client ( B/BP/BPATEL/CHEF-REST-Client-1.tar.gz, BPATEL, 2014; MetaCPAN )
CHEF-REST-Client/lib/CHEF/REST/Client/environments.pm ( view source; MetaCPAN )
:attributes;

$CHEF::REST::Client::environments::VERSION = 1.0;

# this module will be passed tha json parsed hash 
# under ___data__() or variable.
# process it depending on the content expected.

su
CHEF-REST-Client ( B/BP/BPATEL/CHEF-REST-Client-1.tar.gz, BPATEL, 2014; MetaCPAN )
CHEF-REST-Client/lib/CHEF/REST/Client/EndPoints.pm ( view source; MetaCPAN )
irname(__FILE__) ) ) );
 pop @base; #REST
 pop @base; #CHEF
 push @INC, '/', @base;
};

use Mojo::JSON;

sub new {
  my $class  = shift;
  my $param  = {@_};
  my $self   = {};
  bless $self, $class;
b ___data___
{
	my $self = shift;
	my $result = shift;
	my $mojo_json = new Mojo::JSON();
	   $self->{'___data___'} = 
	   		$mojo_json->decode( $result )  
     						if defined $result;
     						
CHEF-REST-Client ( B/BP/BPATEL/CHEF-REST-Client-1.tar.gz, BPATEL, 2014; MetaCPAN )
CHEF-REST-Client/lib/CHEF/Header.pm ( view source; MetaCPAN )
r->{'Accept'} = $method if defined $accept;
             $self->header->{'Accept'} = 'application/json' unless 
     defined $self->header->{'Accept'};           
      return $self->header->{'Accept'

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