Sha256: 9ac0a8f289bebf5f9c61e53e92d56ffca4f5398f07ce1715c5e5379d17fa6cfd
Contents?: true
Size: 293 Bytes
Versions: 2
Compression:
Stored size: 293 Bytes
Contents
# frozen_string_literal: true require "addressable/uri" module Onyphe module Clients class Datascan < Client def get_by_query(query, page: 1) query = Addressable::URI.encode(query) get("/datascan/#{query}", page: page) { |json| json } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
onyphe-1.1.0 | lib/onyphe/clients/datascan.rb |
onyphe-1.0.0 | lib/onyphe/clients/datascan.rb |