lib/cloudflare_client/zone/page_rule.rb
##
# list all the page rules for a zone
list all the page rules for a zone
list all the page rules for a zone
def list(status: 'active', order: 'priority', direction: 'desc', match: 'all')
    valid_value_check(:status, status, VALID_STATUSES)
    valid_value_check(:order, order, VALID_ORDERS)
    valid_value_check(:direction, direction, VALID_DIRECTIONS)
    valid_value_check(:match, match, VALID_MATCHES)
    params = {status: status, order: order, direction: direction, match: match}
    cf_get(path: "/zones/#{zone_id}/pagerules", params: params)
  end
def list ( status : 'active' , order : 'priority' , direction : 'desc' , match : 'all' ) valid_value_check ( :status , status , VALID_STATUSES ) valid_value_check ( :order , order , VALID_ORDERS ) valid_value_check ( :direction , direction , VALID_DIRECTIONS ) valid_value_check ( :match , match , VALID_MATCHES ) params = { status : status , order : order , direction : direction , match : match } cf_get ( path : "/zones/#{zone_id}/pagerules" , params : params ) end
list all the page rules for a zone
list all the page rules for a zone
status
<not_specific>
order
<not_specific>
direction
<not_specific>
match
<not_specific>