Class: ZoomEye::Clients::Base
- Inherits:
-
Object
- Object
- ZoomEye::Clients::Base
- 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
-
#initialize(username: nil, password: nil, access_token: nil) ⇒ Base
constructor
A new instance of Base.
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 |