module Rebi

Dotenv.load

Constants

VERSION

Attributes

config_file[RW]

Public Instance Methods

app() click to toggle source
# File lib/rebi.rb, line 63
def app
  return Rebi::Application.get_or_create_application(config.app_name)
end
config() { |instance| ... } click to toggle source
# File lib/rebi.rb, line 67
def config
  yield Rebi::Config.instance if block_given?
  return Rebi::Config.instance
end
eb(c=nil) click to toggle source
# File lib/rebi.rb, line 47
def eb c=nil
  @@eb = Rebi::EB.new
end
ec2() click to toggle source
# File lib/rebi.rb, line 51
def ec2
  @@ec2_client = Rebi::EC2.new
end
iam() click to toggle source
# File lib/rebi.rb, line 55
def iam
  @@iam_client = Aws::IAM::Client.new
end
init(stage_name, env_name) click to toggle source
# File lib/rebi.rb, line 76
def init stage_name, env_name
  init = Rebi::InitService.new(stage_name, env_name)
  init.execute
end
reload!() click to toggle source
# File lib/rebi.rb, line 72
def reload!
  config.reload!
end
root() click to toggle source
# File lib/rebi.rb, line 43
def root
  Dir.pwd
end
s3() click to toggle source
# File lib/rebi.rb, line 59
def s3
  @@s3_client = Aws::S3::Client.new
end