Class: Azure::Service::CorsRule

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CorsRule.

Yields:

  • (_self)

Yield Parameters:



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

def initialize
  yield self if block_given?
end

Instance Attribute Details

#allowed_headersObject

Returns the value of attribute allowed_headers.



12
13
14
# File 'lib/azure/service/cors_rule.rb', line 12

def allowed_headers
  @allowed_headers
end

#allowed_methodsObject

Returns the value of attribute allowed_methods.



9
10
11
# File 'lib/azure/service/cors_rule.rb', line 9

def allowed_methods
  @allowed_methods
end

#allowed_originsObject

Returns the value of attribute allowed_origins.



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

def allowed_origins
  @allowed_origins
end

#exposed_headersObject

Returns the value of attribute exposed_headers.



11
12
13
# File 'lib/azure/service/cors_rule.rb', line 11

def exposed_headers
  @exposed_headers
end

#max_age_in_secondsObject

Returns the value of attribute max_age_in_seconds.



10
11
12
# File 'lib/azure/service/cors_rule.rb', line 10

def max_age_in_seconds
  @max_age_in_seconds
end