Class: ZoomEye::Clients::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/zoomeye/clients/base.rb

Direct Known Subclasses

Host, ResourceInfo, Web

Constant Summary collapse

HOST =
"api.zoomeye.org"
BASE_URL =
"https://#{HOST}"

Instance Method Summary collapse

Constructor Details

#initialize(api_key) ⇒ Base

Returns a new instance of Base.


13
14
15
# File 'lib/zoomeye/clients/base.rb', line 13

def initialize(api_key)
  @api_key = api_key
end