Class: Cartography::RoutingPolicy::Protocol
- Inherits:
-
Object
- Object
- Cartography::RoutingPolicy::Protocol
- Defined in:
- lib/cartography/routing_policy.rb
Instance Attribute Summary collapse
-
#cloudfront_enabled ⇒ Object
readonly
Returns the value of attribute cloudfront_enabled.
-
#endpoint ⇒ Object
readonly
Returns the value of attribute endpoint.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Protocol
constructor
A new instance of Protocol.
Constructor Details
#initialize(params = {}) ⇒ Protocol
Returns a new instance of Protocol.
30 31 32 33 34 |
# File 'lib/cartography/routing_policy.rb', line 30 def initialize(params = {}) @name = params["Name"] @endpoint = params["Endpoint"] @cloudfront_enabled = params["CloudFrontEnabled"] end |
Instance Attribute Details
#cloudfront_enabled ⇒ Object (readonly)
Returns the value of attribute cloudfront_enabled.
28 29 30 |
# File 'lib/cartography/routing_policy.rb', line 28 def cloudfront_enabled @cloudfront_enabled end |
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
28 29 30 |
# File 'lib/cartography/routing_policy.rb', line 28 def endpoint @endpoint end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
28 29 30 |
# File 'lib/cartography/routing_policy.rb', line 28 def name @name end |