class BandwidthIris::Csr
Public Class Methods
Source
# File lib/bandwidth-iris/csr.rb, line 32 def self.add_note(client, csr_id, note_data) data = client.make_request(:post, client.concat_account_path("#{CSR_PATH}/#{csr_id}/notes"), {:note => note_data}) return data end
Source
# File lib/bandwidth-iris/csr.rb, line 8 def self.create(client, csr_data) data = client.make_request(:post, client.concat_account_path("#{CSR_PATH}"), {:csr => csr_data}) return data end
Source
# File lib/bandwidth-iris/csr.rb, line 14 def self.get(client, csr_id) data = client.make_request(:get, client.concat_account_path("#{CSR_PATH}/#{csr_id}")) return data end
Source
# File lib/bandwidth-iris/csr.rb, line 26 def self.get_notes(client, csr_id) data = client.make_request(:get, client.concat_account_path("#{CSR_PATH}/#{csr_id}/notes")) return data end
Source
# File lib/bandwidth-iris/csr.rb, line 20 def self.replace(client, csr_id, csr_data) data = client.make_request(:put, client.concat_account_path("#{CSR_PATH}/#{csr_id}"), {:csr => csr_data}) return data end
Source
# File lib/bandwidth-iris/csr.rb, line 38 def self.update_note(client, csr_id, note_id, note_data) data = client.make_request(:put, client.concat_account_path("#{CSR_PATH}/#{csr_id}/notes/#{note_id}"), {:note => note_data}) return data end