Class: AccessTokenWrapper::FromRecord
- Defined in:
- lib/access_token_wrapper/from_record.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(client:, record:, &callback) ⇒ AccessTokenWrapper::FromRecord
constructor
This is the core functionality.
Methods inherited from Base
Constructor Details
#initialize(client:, record:, &callback) ⇒ AccessTokenWrapper::FromRecord
This is the core functionality
23 24 25 26 27 |
# File 'lib/access_token_wrapper/from_record.rb', line 23 def initialize(client:, record:, &callback) @oauth_client = client @record = record super(build_token, &callback) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class AccessTokenWrapper::Base
Instance Attribute Details
#record ⇒ Object (readonly)
Returns the value of attribute record.
5 6 7 |
# File 'lib/access_token_wrapper/from_record.rb', line 5 def record @record end |