Class: ZoomEye::Clients::User
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from ZoomEye::Clients::Base
Instance Method Details
#access_token ⇒ Object
6 7 8 |
# File 'lib/zoomeye/clients/user.rb', line 6 def access_token _post("/user/login", username: @username, password: @password) { |json| json.dig("access_token") } end |