class Aws::Resources::Operations::LoadOperation
Attributes
path[R]
@return [String<JMESPath>]
Public Class Methods
new(options = {})
click to toggle source
@option options [required, Request] :request @option options [required, String<JMESPath>] :path
Calls superclass method
Aws::Resources::Operations::Operation.new
# File lib/aws-sdk-resources/operations.rb, line 50 def initialize(options = {}) @path = option(:path, options) super end
Public Instance Methods
call(options)
click to toggle source
@option (see Base#call) @return [Object] Returns the value resolved to by {#path}.
Calls superclass method
Aws::Resources::Operations::Operation#call
# File lib/aws-sdk-resources/operations.rb, line 60 def call(options) extract(super) end
Private Instance Methods
extract(resp)
click to toggle source
# File lib/aws-sdk-resources/operations.rb, line 66 def extract(resp) JMESPath.search(@path, resp.data) end