Sha256: b8b2a01049cd69bab959b1b8fcad8a1c76381f6684996b6d4ca7f7e99ccb91e3
Contents?: true
Size: 802 Bytes
Versions: 1
Compression:
Stored size: 802 Bytes
Contents
# frozen_string_literal: true module Spyse module Client class Cert < Base # # Lists Certificate # # @see https://spyse.com/api#/certificate/certificate # # @return [Hash] # def get(hash, limit: nil, offset: nil) params = { hash: hash, limit: limit, offset: offset, }.compact _get("/cert", params) { |json| json } end # # Lists certificates # # @see https://spyse.com/api#/certificate/cert_search # # @return [Hash] # def search(search_params, limit: nil, offset: nil) params = { search_params: search_params, limit: limit, offset: offset, }.compact _post("/cert/search", params) { |json| json } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spysex-0.1.0 | lib/spyse/clients/cert.rb |