Class: Azure::Storage::Common::Service::Cors
- Inherits:
-
Object
- Object
- Azure::Storage::Common::Service::Cors
- Defined in:
- lib/azure/storage/common/service/cors.rb
Instance Attribute Summary collapse
-
#cors_rules ⇒ Object
Returns the value of attribute cors_rules.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Cors
constructor
A new instance of Cors.
Constructor Details
#initialize {|_self| ... } ⇒ Cors
Returns a new instance of Cors.
30 31 32 33 |
# File 'lib/azure/storage/common/service/cors.rb', line 30 def initialize @cors_rules = [] yield self if block_given? end |
Instance Attribute Details
#cors_rules ⇒ Object
Returns the value of attribute cors_rules.
35 36 37 |
# File 'lib/azure/storage/common/service/cors.rb', line 35 def cors_rules @cors_rules end |