Sha256: 0f4422b8c8536c32b4ca4a1c715974ce18569f36f867024a0578f2b3b259acc3
Contents?: true
Size: 769 Bytes
Versions: 7
Compression:
Stored size: 769 Bytes
Contents
# frozen_string_literal: true require_relative "../../../../response/product_groups_response" module ONEAccess module API module V1_1 # rubocop:disable Style/ClassAndModuleCamelCase module Entitlement module User class ProductGroup < Base api_path "/entitlement/user/productgroup" def self.get_list(user_id:, page_number: 0, page_size: 20, type: nil) resp = send_get("getList", Query: { PageNumber: page_number, PageSize: page_size, UserId: user_id, Type: type }.to_json) Response::ProductGroupsResponse.from_json(resp.body) end end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems