Class: BandwidthIris::RemoveImportedTnOrders

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

Class Method Summary collapse

Methods included from ClientWrapper

wrap_client_arg

Methods included from ApiItem

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

Class Method Details

.create_remove_imported_tn_order(client, remove_imported_tn_order) ⇒ Object



26
27
28
29
# File 'lib/bandwidth-iris/remove_imported_tn_orders.rb', line 26

def self.create_remove_imported_tn_order(client, remove_imported_tn_order)
  data = client.make_request(:post, client.("#{REMOVE_IMPORTED_TN_ORDERS_PATH}"), {:remove_imported_tn_order => remove_imported_tn_order})
  return data
end

.get_remove_imported_tn_order(client, order_id) ⇒ Object



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

def self.get_remove_imported_tn_order(client, order_id)
  data = client.make_request(:get, client.("#{REMOVE_IMPORTED_TN_ORDERS_PATH}/#{order_id}"))
  return data
end

.get_remove_imported_tn_order_history(client, order_id) ⇒ Object



20
21
22
23
# File 'lib/bandwidth-iris/remove_imported_tn_orders.rb', line 20

def self.get_remove_imported_tn_order_history(client, order_id)
  data = client.make_request(:get, client.("#{REMOVE_IMPORTED_TN_ORDERS_PATH}/#{order_id}/history"))
  return data
end

.get_remove_imported_tn_orders(client, query = nil) ⇒ Object



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

def self.get_remove_imported_tn_orders(client, query = nil)
  data = client.make_request(:get, client.(REMOVE_IMPORTED_TN_ORDERS_PATH), query)
  return data
end