Class: Contact

Version 1.5 - Updated on 12/15/2016

Contents

Constructor Details

#initialize(session) ⇒ Contact

Returns a new instance of Contact

def initialize(session)  
  # Instance variables  
  @session = session  
end

Instance Method Details

contacts

#contacts(query, sort, page, count) ⇒ Object

Give contact information of the user

  • Arguments:

  • Returns:

    • A Hash object with contact information of the user
def contacts(query,sort,page,count)
  params = {
    "query" => query,
    "sort" => sort,
    "page" => page,
    "count" => count
  }
  response = @session.do_get "contacts", params
  Sdk::parse_response(response)
end

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.