Class: Osso::Models::AccessToken
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Osso::Models::AccessToken
- Includes:
- OAuth2Token
- Defined in:
- lib/osso/models/access_token.rb
Instance Method Summary collapse
Methods included from OAuth2Token
#expired!, #expires_in, included
Instance Method Details
#to_bearer_token ⇒ Object
10 11 12 13 14 15 |
# File 'lib/osso/models/access_token.rb', line 10 def to_bearer_token Rack::OAuth2::AccessToken::Bearer.new( access_token: token, expires_in: expires_in, ) end |