Method: FileboundClient::Endpoints::Routes#route_xml

Defined in:
lib/filebound_client/endpoints/routes.rb

#route_xml(route_id, query_params = nil) ⇒ string

Retrieves xml for a route

Parameters:

  • route_id (int)

    the route key

  • query_params (Hash) (defaults to: nil)

    additional query params to send in the request

Returns:

  • (string)

    string of xml representing route



16
17
18
# File 'lib/filebound_client/endpoints/routes.rb', line 16

def route_xml(route_id, query_params = nil)
  get("/routes/#{route_id}/xml", query_params)
end