Sha256: 9cdb4d05525765a620b8fdf717501417675769b993948e05380b7aa4603ce7d9

Contents?: true

Size: 977 Bytes

Versions: 2

Compression:

Stored size: 977 Bytes

Contents

# WARNING ABOUT GENERATED CODE
#
# This file is generated. See the contributing guide for more information:
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
#
# WARNING ABOUT GENERATED CODE

module Aws::ApiGatewayV2
  # This class provides a resource oriented interface for ApiGatewayV2.
  # To create a resource object:
  #     resource = Aws::ApiGatewayV2::Resource.new(region: 'us-west-2')
  # You can supply a client object with custom configuration that will be used for all resource operations.
  # If you do not pass +:client+, a default client will be constructed.
  #     client = Aws::ApiGatewayV2::Client.new(region: 'us-west-2')
  #     resource = Aws::ApiGatewayV2::Resource.new(client: client)
  class Resource

    # @param options ({})
    # @option options [Client] :client
    def initialize(options = {})
      @client = options[:client] || Client.new(options)
    end

    # @return [Client]
    def client
      @client
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aws-sdk-apigatewayv2-1.17.0 lib/aws-sdk-apigatewayv2/resource.rb
aws-sdk-apigatewayv2-1.16.0 lib/aws-sdk-apigatewayv2/resource.rb