class FancyHands::History

Public Class Methods

new(client) click to toggle source
# File lib/fancyhands/v1/history.rb, line 6
def initialize(client)
  @client = client
end

Public Instance Methods

get(key="", phone_number="", cursor="") click to toggle source
# File lib/fancyhands/v1/history.rb, line 10
def get(key="", phone_number="", cursor="")
  data = {
    :key => key,
    :phone_number => phone_number,
    :cursor => cursor
  }
  return @client.request.get("call/history", data)
end