Sha256: 0d9de23323efe3edc59554c440f066f9d6ea7c2810840bba3cb13fe38271963d
Contents?: true
Size: 530 Bytes
Versions: 8
Compression:
Stored size: 530 Bytes
Contents
module FellowshipOne class CommunicationReader < ApiReader # Constructor. # # @param person_id The ID of the person to load the communication for. # @param communication_id (optional) The ID of the communication to load. def initialize(person_id, communication_id) if communication_id.nil? @url_new_data_path = "/v1/People/#{person_id}/Communications/new" else @url_data_path = "/v1/People/#{person_id}/Communications/#{communication_id}" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems