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


Gungho documentation  | view source Contained in the Gungho distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  # 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

Top

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

METHODS

Top

new

dispatch

pushback_request


Gungho documentation  | view source Contained in the Gungho distribution.