Sha256: 91bf244090ff1a0b1c8f3c86ccc6607eafe84f74ff3caaac53d467b7ecb66bc5
Contents?: true
Size: 599 Bytes
Versions: 1
Compression:
Stored size: 599 Bytes
Contents
# frozen_string_literal: true require_relative "../response/industries_response" module ONEAccess module API class References < Base api_path "/references" def self.industries(sort_by: "Id", is_ascending: false, keyword: "", page_number: 0, page_size: 20) resp = send_get("industries", Query: { SortBy: sort_by, IsAscending: is_ascending, Keyword: keyword, PageNumber: page_number, PageSize: page_size }.to_json) Response::IndustriesResponse.from_json(resp.body) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oneaccess-0.1.4 | lib/oneaccess/api/references.rb |