Class: Aws::Outposts::Resource

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

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Resource

Returns a new instance of Resource.

Parameters:

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

Options Hash (options):



14
15
16
# File 'gems/aws-sdk-outposts/lib/aws-sdk-outposts/resource.rb', line 14

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

Instance Method Details

#clientClient

Returns:



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

def client
  @client
end