Module: Washbullet::API::Contacts

Included in:
Washbullet::API
Defined in:
lib/washbullet/api/contacts.rb

Instance Method Summary collapse

Instance Method Details

#contactsObject



4
5
6
# File 'lib/washbullet/api/contacts.rb', line 4

def contacts
  get '/v2/contacts'
end

#delete_contact(contact_iden) ⇒ Object



8
9
10
# File 'lib/washbullet/api/contacts.rb', line 8

def delete_contact(contact_iden)
  delete "/v2/contacts/#{contact_iden}"
end