Sha256: e7bff704c424ea5ff2f99d6454405bb729a700a65cdd40389aa91ca989e1d851
Contents?: true
Size: 503 Bytes
Versions: 6
Compression:
Stored size: 503 Bytes
Contents
# frozen_string_literal: true module SecurityTrails class API attr_reader :domain attr_reader :domains attr_reader :history attr_reader :ips def initialize(api_key = ENV["SECURITYTRAILS_API_KEY"]) raise(ArgumentError, "'api_key' argument is required") unless api_key @domain = Clients::Domain.new(api_key) @domains = Clients::Domains.new(api_key) @history = Clients::History.new(api_key) @ips = Clients::IPs.new(api_key) end end end
Version data entries
6 entries across 6 versions & 1 rubygems