module Arbor::Peakflow::Routers
Public Instance Methods
routers(action, filter = nil)
click to toggle source
The routers function allow syou to view router configuration in JSON format.
Parameters:¶ ↑
-
action: One of the following actions that you want to initiate:
list, show_schema, update.
-
filter: (Optional) Keywords by which you want to filter search
results. You can enter the same search strings that you can enter in the Search box on the Configure Routers
page in the Web UI.
Example¶ ↑
response = client.routers 'show_schema'
# File lib/arbor_peakflow_ruby/actions/routers.rb, line 17 def routers(action, filter = nil) url_action_filter_request('arborws/admin/routers', action, filter) end