Skip to content

alxjrvs/api-paranoia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The AIRLOCK api integration

Slide deck: http://slides.com/alxjrvs/api-integrations

Explanation:

API integrations scare me. Our code floats in a nightmare void of horrors, so it's not a bad idea to get a little hands-on with our integration methodology.

files:

basic_slack.rb - A rudimentary, classes implementation of the Slack integration.

slack_service.rb - a basic 'service object' design for integrating with API's.

slack.rb - A "Service" that takes in external information and converts it into API-friendly parameters, with an injectable API component.

slack_api.rb - a thin, stateless wrapper over the HTTP calls

slack_fake.rb - a Data formatter, meant to be the API when we run our tests.

About

A collection of patterns for Integrating with external API's in Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages