Module: FakeDropbox::Config
- Extended by:
- Utils
- Defined in:
- lib/fake_dropbox/config.rb
Constant Summary
Constants included from Utils
Class Attribute Summary collapse
-
.authorize_access_token ⇒ Object
Returns the value of attribute authorize_access_token.
-
.authorize_request_token ⇒ Object
Returns the value of attribute authorize_request_token.
-
.authorized ⇒ Object
Returns the value of attribute authorized.
-
.debug ⇒ Object
Returns the value of attribute debug.
Class Method Summary collapse
Methods included from Utils
Class Attribute Details
.authorize_access_token ⇒ Object
Returns the value of attribute authorize_access_token.
9 10 11 |
# File 'lib/fake_dropbox/config.rb', line 9 def @authorize_access_token end |
.authorize_request_token ⇒ Object
Returns the value of attribute authorize_request_token.
8 9 10 |
# File 'lib/fake_dropbox/config.rb', line 8 def @authorize_request_token end |
.authorized ⇒ Object
Returns the value of attribute authorized.
10 11 12 |
# File 'lib/fake_dropbox/config.rb', line 10 def @authorized end |
.debug ⇒ Object
Returns the value of attribute debug.
11 12 13 |
# File 'lib/fake_dropbox/config.rb', line 11 def debug @debug end |
Class Method Details
.reset! ⇒ Object
13 14 15 16 17 18 |
# File 'lib/fake_dropbox/config.rb', line 13 def reset! @authorize_request_token = true @authorize_access_token = true @authorized = true @debug = to_bool ENV['DROPBOX_DEBUG'] end |