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

Class: Aws::DAX::Resource

Inherits:
Object
  • Object
show all
Defined in:
gems/aws-sdk-dax/lib/aws-sdk-dax/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 'gems/aws-sdk-dax/lib/aws-sdk-dax/resource.rb', line 13

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

Instance Method Details

#clientClient

Returns:



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

def client
  @client
end