Class: Moneylovercli::Api::AccessToken
- Defined in:
- lib/moneylovercli/api/access_token.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Instance Method Details
#access_token(authorization_token:, client:, email:, password:) ⇒ Object
13 14 15 16 |
# File 'lib/moneylovercli/api/access_token.rb', line 13 def access_token(authorization_token:, client:, email:, password:) self.class.post('/token', body: { email: email, password: password }, headers: { authorization: "Bearer #{}", client: client }) end |