Class: AWS::Core::OptionGrammar::Descriptors::ListMember
- Inherits:
-
AWS::Core::OptionGrammar::DefaultOption
- Object
- AWS::Core::OptionGrammar::DefaultOption
- AWS::Core::OptionGrammar::Descriptors::ListMember
- Defined in:
- lib/aws/core/option_grammar.rb
Instance Attribute Summary
Attributes inherited from AWS::Core::OptionGrammar::DefaultOption
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ListMember
constructor
A new instance of ListMember.
- #prefixed_name(prefix) ⇒ Object
Methods inherited from AWS::Core::OptionGrammar::DefaultOption
#context_description, #encode_value, #extend_with_config, #format_error, #hash_format, #request_params, #required?, #ruby_name
Methods included from String
Methods included from NoArgs
Constructor Details
#initialize(options = {}) ⇒ ListMember
Returns a new instance of ListMember.
261 262 263 264 |
# File 'lib/aws/core/option_grammar.rb', line 261 def initialize = {} super("##list-member##") @prefix = [:prefix] || '' end |
Instance Method Details
#prefixed_name(prefix) ⇒ Object
266 267 268 |
# File 'lib/aws/core/option_grammar.rb', line 266 def prefixed_name(prefix) "#{prefix}#{@prefix}" end |