Class: Azure::Service::CorsRule
- Inherits:
-
Object
- Object
- Azure::Service::CorsRule
- Defined in:
- lib/azure/service/cors_rule.rb
Instance Attribute Summary collapse
-
#allowed_headers ⇒ Object
Returns the value of attribute allowed_headers.
-
#allowed_methods ⇒ Object
Returns the value of attribute allowed_methods.
-
#allowed_origins ⇒ Object
Returns the value of attribute allowed_origins.
-
#exposed_headers ⇒ Object
Returns the value of attribute exposed_headers.
-
#max_age_in_seconds ⇒ Object
Returns the value of attribute max_age_in_seconds.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ CorsRule
constructor
A new instance of CorsRule.
Constructor Details
#initialize {|_self| ... } ⇒ CorsRule
Returns a new instance of CorsRule.
4 5 6 |
# File 'lib/azure/service/cors_rule.rb', line 4 def initialize yield self if block_given? end |
Instance Attribute Details
#allowed_headers ⇒ Object
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_methods ⇒ Object
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_origins ⇒ Object
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_headers ⇒ Object
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_seconds ⇒ Object
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 |