Class: RailsSso::FetchUser
- Inherits:
-
Object
- Object
- RailsSso::FetchUser
- Defined in:
- app/services/rails_sso/fetch_user.rb
Instance Method Summary collapse
- #call {|get| ... } ⇒ Object
-
#initialize(access_token) ⇒ FetchUser
constructor
A new instance of FetchUser.
Constructor Details
#initialize(access_token) ⇒ FetchUser
Returns a new instance of FetchUser.
3 4 5 |
# File 'app/services/rails_sso/fetch_user.rb', line 3 def initialize(access_token) @access_token = access_token end |
Instance Method Details
#call {|get| ... } ⇒ Object
7 8 9 |
# File 'app/services/rails_sso/fetch_user.rb', line 7 def call yield(get) end |