Class: Lhj::Command::OSS::Info
- Inherits:
-
Lhj::Command::OSS
- Object
- CLAide::Command
- Lhj::Command
- Lhj::Command::OSS
- Lhj::Command::OSS::Info
- Defined in:
- lib/lhj/command/oss/info.rb
Instance Method Summary collapse
Methods inherited from Lhj::Command
#auto_spin, #begin_title, #initialize, #run, #stop
Constructor Details
This class inherits a constructor from Lhj::Command
Instance Method Details
#base_info ⇒ Object
30 31 32 33 34 35 |
# File 'lib/lhj/command/oss/info.rb', line 30 def base_info puts Lhj::OSSConfig.oss_access_key_id puts Lhj::OSSConfig.oss_access_key_secret puts Lhj::OSSConfig.oss_endpoint puts Lhj::OSSConfig.oss_bucket end |
#handle ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/lhj/command/oss/info.rb', line 13 def handle puts '-------base-----------' base_info puts '-------alc-----------' puts Lhj::OSS::Helper.instance.alc puts '-------logging-----------' puts Lhj::OSS::Helper.instance.logging puts '-------lifecycle----------' puts Lhj::OSS::Helper.instance.lifecycle puts '-------cors-----------' puts Lhj::OSS::Helper.instance.cors puts '--------website----------' puts Lhj::OSS::Helper.instance.website puts '--------referer----------' puts Lhj::OSS::Helper.instance.referer end |