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)