Class: BandwidthIris::AlternateEndUserIdentity

Inherits:
Object
  • Object
show all
Extended by:
ClientWrapper
Includes:
ApiItem
Defined in:
lib/bandwidth-iris/aeui.rb

Class Method Summary collapse

Methods included from ClientWrapper

wrap_client_arg

Methods included from ApiItem

#[], #[]=, #initialize, #to_data

Class Method Details

.get_alternate_caller_information(client, acid) ⇒ Object



14
15
16
17
# File 'lib/bandwidth-iris/aeui.rb', line 14

def self.get_alternate_caller_information(client, acid)
  response = client.make_request(:get, "#{client.(AEUI_PATH)}/#{acid}")
  return response[0][:alternate_end_user_identifier]
end

.get_alternate_end_user_information(client, query = nil) ⇒ Object



8
9
10
11
# File 'lib/bandwidth-iris/aeui.rb', line 8

def self.get_alternate_end_user_information(client, query=nil)
  response = client.make_request(:get, "#{client.(AEUI_PATH)}", query)
  return response[0]
end