Class: CfFactory::CfForwardedValues
- Inherits:
-
Object
- Object
- CfFactory::CfForwardedValues
show all
- Includes:
- CfInner
- Defined in:
- lib/cf_factory/cloudfront/cf_forwarded_values.rb
Instance Method Summary
collapse
Methods included from CfInner
#generate, #generate_name, #hash_to_string, #set_quotes
Constructor Details
Returns a new instance of CfForwardedValues.
15
16
17
18
|
# File 'lib/cf_factory/cloudfront/cf_forwarded_values.rb', line 15
def initialize(query_string)
@query_string = query_string
@additional_indent = 6
end
|
Instance Method Details
#add(add_indent) ⇒ Object
11
12
13
|
# File 'lib/cf_factory/cloudfront/cf_forwarded_values.rb', line 11
def add(add_indent)
@additional_indent += add_indent
end
|
#additional_indent ⇒ Object
7
8
9
|
# File 'lib/cf_factory/cloudfront/cf_forwarded_values.rb', line 7
def additional_indent
@additional_indent
end
|
#get_cf_attributes ⇒ Object
20
21
22
23
24
|
# File 'lib/cf_factory/cloudfront/cf_forwarded_values.rb', line 20
def get_cf_attributes
result = {}
result["QueryString"] = @query_string
result
end
|