Module: Fellowshipone::Client::Communication

Included in:
Fellowshipone::Client
Defined in:
lib/fellowshipone/resources/communication.rb

Instance Method Summary collapse

Instance Method Details

#create_communication(person_id, json_body) ⇒ Object



9
10
11
# File 'lib/fellowshipone/resources/communication.rb', line 9

def create_communication(person_id, json_body)
  post("/v1/People/#{person_id}/Communications.json", json_body)
end

#new_communication(person_id) ⇒ Object



5
6
7
# File 'lib/fellowshipone/resources/communication.rb', line 5

def new_communication(person_id)
  get("/v1/People/#{person_id}/Communications/new.json")
end