Method: OrderCloud::ApprovalRuleApi#list

Defined in:
lib/order_cloud/api/approval_rule_api.rb

#list(buyer_id, opts = {}) ⇒ ListApprovalRule

Parameters:

  • buyer_id

    ID of the buyer.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :search (String)

    Search of the approval rule.

  • :search_on (Array<String>)

    Search on of the approval rule.

  • :sort_by (Array<String>)

    Sort by of the approval rule.

  • :page (Integer)

    Page of the approval rule.

  • :page_size (Integer)

    Page size of the approval rule.

  • :filters (Hash<String, String>)

    Filters of the approval rule.

Returns:



227
228
229
230
# File 'lib/order_cloud/api/approval_rule_api.rb', line 227

def list(buyer_id, opts = {})
  data, _status_code, _headers = list_with_http_info(buyer_id, opts)
  return data
end