Sha256: fdb20941beb3ab8ef03fdc13ce7b9ee344a3fa0431efdb691a528edc3b438a40
Contents?: true
Size: 719 Bytes
Versions: 1
Compression:
Stored size: 719 Bytes
Contents
# frozen_string_literal: true require_relative "../../../response/product_groups_response" module ONEAccess module API module Entitlement module Organization class ProductGroup < Base api_path "/entitlement/organization/productgroup" def self.get_list(contributor_org_id:, page_number: 0, page_size: 20, type: nil) resp = get("getList", Query: { PageNumber: page_number, PageSize: page_size, ContributorOrgId: contributor_org_id, Type: type }.to_json) Response::ProductGroupsResponse.from_json(resp.body) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oneaccess-0.1.0 | lib/oneaccess/api/entitlement/organization/product_group.rb |