Module: FakeDropbox::Config

Extended by:
Utils
Defined in:
lib/fake_dropbox/config.rb

Constant Summary

Constants included from Utils

Utils::DATE_FORMAT

Class Attribute Summary collapse

Class Method Summary collapse

Methods included from Utils

metadata, safe_path, to_bool

Class Attribute Details

.authorize_access_tokenObject

Returns the value of attribute authorize_access_token.



9
10
11
# File 'lib/fake_dropbox/config.rb', line 9

def authorize_access_token
  @authorize_access_token
end

.authorize_request_tokenObject

Returns the value of attribute authorize_request_token.



8
9
10
# File 'lib/fake_dropbox/config.rb', line 8

def authorize_request_token
  @authorize_request_token
end

.authorizedObject

Returns the value of attribute authorized.



10
11
12
# File 'lib/fake_dropbox/config.rb', line 10

def authorized
  @authorized
end

.debugObject

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