Class: Qiniu2Upyun::Config::Upyun
- Inherits:
-
Object
- Object
- Qiniu2Upyun::Config::Upyun
- Defined in:
- lib/qiniu2upyun/config.rb
Instance Attribute Summary collapse
-
#bucket ⇒ Object
readonly
Returns the value of attribute bucket.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(options) ⇒ Upyun
constructor
A new instance of Upyun.
Constructor Details
#initialize(options) ⇒ Upyun
Returns a new instance of Upyun.
21 22 23 24 25 |
# File 'lib/qiniu2upyun/config.rb', line 21 def initialize() @username = ['username'] @password = ['password'] @bucket = ['bucket'] end |
Instance Attribute Details
#bucket ⇒ Object (readonly)
Returns the value of attribute bucket.
19 20 21 |
# File 'lib/qiniu2upyun/config.rb', line 19 def bucket @bucket end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
19 20 21 |
# File 'lib/qiniu2upyun/config.rb', line 19 def password @password end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
19 20 21 |
# File 'lib/qiniu2upyun/config.rb', line 19 def username @username end |