Class: Azure::Service::Cors

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/service/cors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Cors

Returns a new instance of Cors.

Yields:

  • (_self)

Yield Parameters:



4
5
6
# File 'lib/azure/service/cors.rb', line 4

def initialize
  yield self if block_given?
end

Instance Attribute Details

#cors_rulesObject

Returns the value of attribute cors_rules.



8
9
10
# File 'lib/azure/service/cors.rb', line 8

def cors_rules
  @cors_rules
end