Class: ZoomEye::Clients::Base

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

Direct Known Subclasses

Host, ResourceInfo, User, Web

Constant Summary collapse

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

Instance Method Summary collapse

Constructor Details

#initialize(username: nil, password: nil, access_token: nil) ⇒ Base

Returns a new instance of Base.



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

def initialize(username: nil, password: nil, access_token: nil)
  @username = username
  @password = password
  @access_token = access_token
end