Method: TokBoxer::Api#is_friend

Defined in:
lib/TokBoxer/Api.rb

#is_friend(jabberId, remoteJabberId) ⇒ Object



39
40
41
42
43
44
# File 'lib/TokBoxer/Api.rb', line 39

def is_friend(jabberId, remoteJabberId)
  method = "POST"
  call = "/contacts/getRelation"
  params = { :jabberId => jabberId, :remoteJabberId => remoteJabberId }
  result = request(method, call, params)
end