Class: B2::Base
Instance Attribute Summary collapse
-
#download_url ⇒ Object
Returns the value of attribute download_url.
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
12 13 14 15 |
# File 'lib/b2/base.rb', line 12 def initialize B2::Authentication. if B2::Base.base_uri.nil? @download_url = B2::Base.[:download_url] end |
Instance Attribute Details
#download_url ⇒ Object
Returns the value of attribute download_url.
4 5 6 |
# File 'lib/b2/base.rb', line 4 def download_url @download_url end |