You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Resources::BuilderSources::Argument

Inherits:
Object
  • Object
show all
Includes:
Source
Defined in:
aws-sdk-resources/lib/aws-sdk-resources/builder_sources.rb

Instance Attribute Summary

Attributes included from Source

#source, #target

Instance Method Summary collapse

Methods included from Source

#initialize

Instance Method Details

#extract(options) ⇒ Object

Parameters:

  • [required, (Hash)

    a customizable set of options



30
31
32
# File 'aws-sdk-resources/lib/aws-sdk-resources/builder_sources.rb', line 30

def extract(options)
  (options[:args] || [])[@source]
end

#plural?Boolean

Returns:

  • (Boolean)


34
35
36
# File 'aws-sdk-resources/lib/aws-sdk-resources/builder_sources.rb', line 34

def plural?
  false
end