Module: Dropbox::API::Config
- Defined in:
- lib/dropbox/api/util/config.rb
Class Method Summary collapse
Class Method Details
.web_session ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/dropbox/api/util/config.rb', line 10 def web_session if @web_session.nil? raise Dropbox::API::Error::Config.new("Web session hasn't been configured") else @web_session end end |
.web_session=(session) ⇒ Object
6 7 8 |
# File 'lib/dropbox/api/util/config.rb', line 6 def web_session=(session) @web_session = session end |