Class: Aws::APIGateway::Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-sdk-apigateway/resource.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Resource

Returns a new instance of Resource.

Parameters:

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

Options Hash (options):



13
14
15
# File 'lib/aws-sdk-apigateway/resource.rb', line 13

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

Instance Method Details

#clientClient

Returns:



18
19
20
# File 'lib/aws-sdk-apigateway/resource.rb', line 18

def client
  @client
end