module Meroku::Shared

www.ruby-forum.com/topic/94852 forums.sketchup.com/t/how-to-pass-variable-to-a-tool-object-without-using-globals/14191/13

Attributes

secrets[RW]

Public Class Methods

ec2_client() click to toggle source
# File lib/meroku/shared.rb, line 12
def ec2_client
  ::Aws::EC2::Client.new(
    region: 'us-east-1',
    credentials: ::Aws::Credentials.new(
      Meroku::Shared.secrets.aws_access_key,
      Meroku::Shared.secrets.aws_access_key_secret
    )
  )
end