Class: Aws::Resources::RequestParams::DataMember

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

Instance Attribute Summary

Attributes included from Param

#target

Instance Method Summary collapse

Methods included from Param

#apply

Constructor Details

#initialize(options) ⇒ DataMember

Returns a new instance of DataMember.



113
114
115
116
# File 'lib/aws-sdk-resources/request_params.rb', line 113

def initialize(options)
  @path = options[:path]
  super
end

Instance Method Details

#value(options) ⇒ Object



118
119
120
# File 'lib/aws-sdk-resources/request_params.rb', line 118

def value(options)
  JMESPath.search(@path, options[:resource].data)
end