Daisuke Maki > Gungho-0.09008 > Gungho::Provider::YAML

Download:
Gungho-0.09008.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  4
View/Report Bugs
Source  

NAME ^

Gungho::Provider::YAML - Specify requests in YAML format

SYNOPSIS ^

  # config.yml
  ---
  provider:
    module: YAML
    config: 
      filename: url.yml

  # url.yml
  ---
  requests:
    - method: POST
      url: http://example.com/post/to/me
      headers:
        X-MyHeader: foo
        Host: hoge
      content:
    - url: http://example.com/get/me

DESCRIPTION ^

Gungho::Provider::YAML allows you to write down requests in an YAML file

METHODS ^

new

dispatch

pushback_request

syntax highlighting: