controlshift / action-network-rest

Ruby client for interacting with the ActionNetwork REST API
MIT License
8 stars 4 forks source link

Add support for Person create/get endpoints #1

Closed lavaturtle closed 4 years ago

lavaturtle commented 4 years ago

This adds some basic infrastructure for interacting with the ActionNetwork API using our Vertebrae API-client gem, and specific support for two endpoints:

Get person client.people.get('abc-123-def-456789')

Create person client.people.create({email_addresses: [{address: 'foo@example.com'}], given_name: 'Alice', family_name: 'Example'}, tags: ['volunteer', 'helper'])