module Totter::Client::Connections

Client methods for working with connection objects

Public Instance Methods

connections() click to toggle source

Returns connections for the authenticating user

@return [Array] @example

Totter.connections
# File lib/totter/client/connections.rb, line 20
def connections
  get("connections").body
end
find_connection_friends(token) click to toggle source

Performs a find friends operation for a given connection token

@param token [String] The connection token @return [Hashie::Mash] @example

Totter.find_connection_friends('abc1234')
# File lib/totter/client/connections.rb, line 11
def find_connection_friends(token)
  post("connections/#{token}/find_friends").body
end