Skip to content

Instantly share code, notes, and snippets.

View mariusvw's full-sized avatar

Marius van Witzenburg mariusvw

View GitHub Profile
@mariusvw
mariusvw / Afas.class.php
Created August 3, 2017 12:11 — forked from tvisser/Afas.class.php
PHP Class for easily using the Afas GetConnector or UpdateConnector
<?php
/**
* Class Afas
*
* This class has 3 static functions for accessing data using the Afas GetConnectors and UpdateConnectors.
* It includes the GET, POST and PUT request in their valid format.
*
* IMPORTANT: For it to work, remember to change the BASE_URL and TOKEN constants in the class.
*

An Ansible summary

Patterns

  • all (or *)
  • hostname: foo.example.com
  • groupname: webservers
  • or: webservers:dbserver
  • exclude: webserver:!phoenix
  • intersection: webservers:&amp;staging