Sha256: 199982ee734019843ca24ab9dc9515470248baa8f90508a3d6160b658ec7f3e8

Contents?: true

Size: 220 Bytes

Versions: 3

Compression:

Stored size: 220 Bytes

Contents

# frozen_string_literal: true

module Onyphe
  module Clients
    class Datascan < Client
      def get_by_query(query, page = 1)
        get("/datascan/#{query}", page: page) { |json| json }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
onyphe-0.2.1 lib/onyphe/clients/datascan.rb
onyphe-0.2.0 lib/onyphe/clients/datascan.rb
onyphe-0.1.0 lib/onyphe/clients/datascan.rb