Method: Censys::API::Resource#initialize

Defined in:
lib/censys/api.rb

#initialize(type, api) ⇒ Resource

Returns a new instance of Resource.



22
23
24
25
# File 'lib/censys/api.rb', line 22

def initialize(type, api)
  @type = type
  @api  = api
end