class Deploy::Eb::Application
Public Class Methods
new(name)
click to toggle source
# File lib/deploy/eb/application.rb, line 4 def initialize(name) @name = name end
Public Instance Methods
environments()
click to toggle source
# File lib/deploy/eb/application.rb, line 8 def environments request = {application_name: @name} response = elasticbeanstalk.describe_environments(request) response.environments.map(&:environment_name) end
Private Instance Methods
elasticbeanstalk()
click to toggle source
# File lib/deploy/eb/application.rb, line 16 def elasticbeanstalk @elasticbeanstalk ||= ErrorHandler.with_error_handling { Aws::ElasticBeanstalk::Client.new } end