Sha256: d4220feca390716ea1f82a3f4ccdddb3dd6c997f1a1133b4688f6db04c7ab888
Contents?: true
Size: 306 Bytes
Versions: 2
Compression:
Stored size: 306 Bytes
Contents
module VoipfoneClient class Client # Return the phone numbers for this account, as strings # @return [Array] Phone numbers as strings. def phone_numbers request = @browser.get("#{VoipfoneClient::API_GET_URL}?nums") parse_response(request)["nums"].collect {|n| n.first} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
voipfone_client-0.2.1 | lib/voipfone_client/phone_numbers.rb |
voipfone_client-0.2.0 | lib/voipfone_client/phone_numbers.rb |