Method: Aliyun::OSS::Connection::Options#initialize
- Defined in:
- lib/aliyun/oss/connection.rb
#initialize(options = {}) ⇒ Options
Returns a new instance of Options.
255 256 257 258 259 260 |
# File 'lib/aliyun/oss/connection.rb', line 255 def initialize( = {}) super() validate() replace(:server => DEFAULT_HOST, :port => ([:use_ssl] ? 443 : 80)) merge!() end |