Class: Aws::CloudFront::Resource

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

def client
  @client
end