module AWS::Core::ServiceInterface

def self.included base

def self.included base
  base.send(:attr_reader, :config)
  base.send(:attr_reader, :client)
  base.module_eval('module Errors; end')
  unless base::Errors.include?(Errors)
    base::Errors.module_eval { include Errors }
  end
end

def initialize options = {}

Options Hash: (**options)
  • :config (Configuration) -- An AWS::Configuration

Parameters:
  • options (Hash) --

Other tags:
    See: AWS::Cofiguration -
def initialize options = {}
  options = options.dup
  @config = (options.delete(:config) || AWS.config)
  @config = @config.with(options)
  @client = @config.send(Inflection.ruby_name(self.class.to_s) + '_client')
end

def inspect

Returns:
  • (String) -
def inspect
  "<#{self.class}>"
end