alexphys / api_adater

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API Adapter generator

Installation

##Usage

Initialize with

ApiAdapter.new location: './'

where location is where adapter yml files are stored.

##Configuration syntax

This gem will:

  • validate method params if validations are specified
  • apply required http headers required for authentication
  • allow parallel requests
  • allow uploads to API endpoints

This gem will not:

  • validate API response mapping

Configuration Syntax

Method argument mapping

Validations

Overriding the adapter

TODO format and value validations generators for overridable adapters caching

About