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

Class: Aws::Resources::Operations::LoadOperation

Inherits:
Operation
  • Object
show all
Defined in:
aws-sdk-resources/lib/aws-sdk-resources/operations.rb

Instance Attribute Summary collapse

Attributes inherited from Operation

#request

Attributes inherited from Base

#source

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ LoadOperation

Returns a new instance of LoadOperation

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :request (required, Request)
  • :path (required, String<JMESPath>)


50
51
52
53
# File 'aws-sdk-resources/lib/aws-sdk-resources/operations.rb', line 50

def initialize(options = {})
  @path = option(:path, options)
  super
end

Instance Attribute Details

#pathString<JMESPath> (readonly)

Returns:

  • (String<JMESPath>)


56
57
58
# File 'aws-sdk-resources/lib/aws-sdk-resources/operations.rb', line 56

def path
  @path
end

Instance Method Details

#call(options) ⇒ Object

Returns the value resolved to by #path.

Returns:

  • (Object)

    Returns the value resolved to by #path.



60
61
62
# File 'aws-sdk-resources/lib/aws-sdk-resources/operations.rb', line 60

def call(options)
  extract(super)
end