Sha256: b8e6417d5ad4d8d47de3dcc535092f7b974e6470b6f8963f95b35b6f0cb7b48f

Contents?: true

Size: 356 Bytes

Versions: 4

Compression:

Stored size: 356 Bytes

Contents

class VoipfoneClient::Client
  #Return a list of voicemail entries, with details for each
  #@return [Hash] of voicemail information. This includes a reference to a WAV file which isn't accessible (yet?)
  def voicemail
    request = @browser.get("#{VoipfoneClient::API_GET_URL}?vm_view")
    parse_response(request)["vm_view"].first["voicemail"]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
voipfone_client-0.2.1 lib/voipfone_client/voicemail.rb
voipfone_client-0.2.0 lib/voipfone_client/voicemail.rb
voipfone_client-0.0.5 lib/voipfone_client/voicemail.rb
voipfone_client-0.0.4 lib/voipfone_client/voicemail.rb