class BandwidthIris::TnOptions

Public Class Methods

create_tn_option_order(client, data) click to toggle source
# File lib/bandwidth-iris/tn_options.rb, line 14
def self.create_tn_option_order(client, data)
    response = client.make_request(:post, "#{client.concat_account_path(TN_OPTIONS_PATH)}", {:tn_option_order => data})
    return response[0][:tn_option_order]
end
get_tn_option_order(client, order_id) click to toggle source
# File lib/bandwidth-iris/tn_options.rb, line 20
def self.get_tn_option_order(client, order_id)
    response = client.make_request(:get, "#{client.concat_account_path(TN_OPTIONS_PATH)}/#{order_id}")
    return response[0]
end
get_tn_option_orders(client, query = nil) click to toggle source
# File lib/bandwidth-iris/tn_options.rb, line 8
def self.get_tn_option_orders(client, query = nil)
    response = client.make_request(:get, "#{client.concat_account_path(TN_OPTIONS_PATH)}", query)
    return response[0]
end