Module: Rebi
- Extended by:
- Rebi
- Includes:
- Log
- Included in:
- Rebi
- Defined in:
- lib/rebi.rb,
lib/rebi/ec2.rb,
lib/rebi/log.rb,
lib/rebi/error.rb,
lib/rebi/config.rb,
lib/rebi/version.rb,
lib/rebi/erb_helper.rb,
lib/rebi/zip_helper.rb,
lib/rebi/application.rb,
lib/rebi/environment.rb,
lib/rebi/config_environment.rb
Overview
Defined Under Namespace
Modules: Log
Classes: Application, Config, ConfigEnvironment, EC2, Environment, ErbHelper, Error, ZipHelper
Constant Summary
collapse
- VERSION =
'0.3.2'
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods included from Log
#colorize, #colorize_prefix, #error, #error_label, #h1, #h2, #h3, #h4, #hstatus, #log, #log_label
Instance Attribute Details
#config_file ⇒ Object
Returns the value of attribute config_file.
38
39
40
|
# File 'lib/rebi.rb', line 38
def config_file
@config_file
end
|
Instance Method Details
#config {|Rebi::Config.instance| ... } ⇒ Object
65
66
67
68
|
# File 'lib/rebi.rb', line 65
def config
yield Rebi::Config.instance if block_given?
return Rebi::Config.instance
end
|
#eb(c = nil) ⇒ Object
45
46
47
|
# File 'lib/rebi.rb', line 45
def eb c=nil
@@eb = Aws::ElasticBeanstalk::Client.new
end
|
#ec2 ⇒ Object
49
50
51
|
# File 'lib/rebi.rb', line 49
def ec2
@@ec2_client = Rebi::EC2.new Aws::EC2::Client.new
end
|
#iam ⇒ Object
53
54
55
|
# File 'lib/rebi.rb', line 53
def iam
@@iam_client = Aws::IAM::Client.new
end
|
#reload! ⇒ Object
70
71
72
|
# File 'lib/rebi.rb', line 70
def reload!
config.reload!
end
|
#root ⇒ Object
41
42
43
|
# File 'lib/rebi.rb', line 41
def root
Dir.pwd
end
|
#s3 ⇒ Object
57
58
59
|
# File 'lib/rebi.rb', line 57
def s3
@@s3_client = Aws::S3::Client.new
end
|