class Spyse::Client::AS
Public Instance Methods
get(asn)
click to toggle source
Lists AS
@see spyse.com/api#/as/as
@return [Hash]
# File lib/spyse/clients/as.rb, line 13 def get(asn) _get("/as/#{asn}") { |json| json } end
search(search_params, limit: nil, offset: nil)
click to toggle source
Lists ASs
@see spyse.com/api#/as/as_search
@return [Hash]
# File lib/spyse/clients/as.rb, line 24 def search(search_params, limit: nil, offset: nil) params = { search_params: search_params, limit: limit, offset: offset, }.compact _post("/as/search", params) { |json| json } end