The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Chef::REST

VERSION

1.0

SYNOPSIS

use Chef;

  my $obj = new Chef::REST( );

DESCRIPTION

This clas inherites methods from Chef and Chef::Header. Please do not use these methods directly. Inturn these are used internally by Chef::REST::Client to make REST HTTP Requests

METHODS

Constructor

REST;

returns new Chef::REST object and initialized UserAgent;

_UA_

sets UserAgent object

add_headers

uses to add headers for UserAgent. It takes hash as key value

get

generates GET HTTP request

post

generates POST HTTP request

get_uri

generates end point URI for chef request.

name

sets or gets chef client name

KNOWN BUGS

SUPPORT

open a github ticket or email comments to Bhavin Patel <bpatel10@nyit.edu>

COPYRIGHT AND LICENSE

This Software is free to use , licensed under : The Artisic License 2.0 (GPL Compatible)