Class: TrainPlugins::Aws::Transport

Inherits:
Object
  • Object
show all
Defined in:
lib/train-aws/transport.rb

Instance Method Summary collapse

Instance Method Details

#connection(_instance_opts = nil) ⇒ Object

The options passed to this are undocumented and rarely used.



34
35
36
37
38
39
40
41
# File 'lib/train-aws/transport.rb', line 34

def connection(_instance_opts = nil)
  # Typical practice is to cache the connection as an instance variable.
  # Do what makes sense for your platform.
  # @options here is the parsed options that the calling
  # app handed to us at process invocation. See the Connection class
  # for more details.
  @connection ||= TrainPlugins::Aws::Connection.new(@options)
end