Sha256: 36ba3c5458e0dfe372ff191b30dd172c0c16b198128981075dbea6a7a6f1bdeb
Contents?: true
Size: 658 Bytes
Versions: 4
Compression:
Stored size: 658 Bytes
Contents
# engaging-networks-rest Client gem for the ENS API to Engaging Networks ## Install `gem install engaging-networks-rest` ## Usage ``` client = EngagingNetworksRest.new(api_key: 'YOUR API KEY HERE') # get pages by type pages = client.pages(type: 'dcf', status: 'live') # process a page request response = client.process_page_request(page_id: 12345, body: {supporter: {first_name: 'Alice'}}) ``` The client will call authentication endpoint behind the scenes the first time it makes a request. Currently, it does not attempt to check if its token is still valid for later requests. It is possible to force re-authentication with `client.authenticate!`.
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
engaging-networks-rest-0.6.0 | README.md |
engaging-networks-rest-0.5.0 | README.md |
engaging-networks-rest-0.4.1 | README.md |
engaging-networks-rest-0.3.0 | README.md |