Class: RDStationClient::Contact::Update

Inherits:
Authenticated show all
Defined in:
lib/rd_station_client/contact/update.rb

Overview

Update a contact at RDStation based on this documentation: developers.rdstation.com/reference/patch_platform-contacts-identifier-value Ex:

RDStationClient::Contact::Update.(
  path_params: { identifier_type: 'email', identifier_value: '[email protected]' },
  body: { name: 'John Doe', website: 'http://mysite.com', bio: 'My name is John Doe' }
)

RDStationClient::Contact::Update.(
  path_params: { identifier_type: 'uuid', identifier_value: 'adf6d3d6-31da-41bd-8e5c-b3fbfbafa8a8' }
  body: { name: 'John Doe', website: 'http://mysite.com', bio: 'My name is John Doe' }
)

RDStationClient::Contact::Update.(
  email: '[email protected]'
  body: { name: 'John Doe', website: 'http://mysite.com', bio: 'My name is John Doe' }
)

RDStationClient::Contact::Update.(
  uuid: 'adf6d3d6-31da-41bd-8e5c-b3fbfbafa8a8',
  body: { name: 'John Doe', website: 'http://mysite.com', bio: 'My name is John Doe' }
)

Constant Summary

Constants inherited from Authenticated

Authenticated::AUTH_DATA_KEY

Method Summary

Methods inherited from Authenticated

#run

Methods inherited from Base

config