Class: Aliyun::Oss::Struct::Website

Inherits:
Base
  • Object
show all
Defined in:
lib/aliyun/oss/struct/website.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Aliyun::Oss::Struct::Base

Instance Attribute Details

#error_keyObject

The object key name to use when a 4XX class error occurs



9
10
11
# File 'lib/aliyun/oss/struct/website.rb', line 9

def error_key
  @error_key
end

#suffixObject

A suffix that is appended to a request that is for a directory on the website endpoint (e.g. if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.



6
7
8
# File 'lib/aliyun/oss/struct/website.rb', line 6

def suffix
  @suffix
end