Class: RDStation::Configuration
- Inherits:
-
Object
- Object
- RDStation::Configuration
- Defined in:
- lib/rdstation.rb
Instance Attribute Summary collapse
-
#access_token_refresh_callback ⇒ Object
readonly
Returns the value of attribute access_token_refresh_callback.
-
#base_host ⇒ Object
Returns the value of attribute base_host.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
Instance Method Summary collapse
Instance Attribute Details
#access_token_refresh_callback ⇒ Object (readonly)
Returns the value of attribute access_token_refresh_callback.
20 21 22 |
# File 'lib/rdstation.rb', line 20 def access_token_refresh_callback @access_token_refresh_callback end |
#base_host ⇒ Object
Returns the value of attribute base_host.
19 20 21 |
# File 'lib/rdstation.rb', line 19 def base_host @base_host end |
#client_id ⇒ Object
Returns the value of attribute client_id.
19 20 21 |
# File 'lib/rdstation.rb', line 19 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
19 20 21 |
# File 'lib/rdstation.rb', line 19 def client_secret @client_secret end |
Instance Method Details
#on_access_token_refresh(&block) ⇒ Object
22 23 24 |
# File 'lib/rdstation.rb', line 22 def on_access_token_refresh(&block) @access_token_refresh_callback = block end |