Class: CodeBuildNotifier::DynamoBase

Inherits:
Object
  • Object
show all
Defined in:
lib/codebuild-notifier/dynamo_base.rb

Direct Known Subclasses

BranchEntry, BuildHistory, ProjectSummary

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config, build) ⇒ DynamoBase

Returns a new instance of DynamoBase.



28
29
30
31
# File 'lib/codebuild-notifier/dynamo_base.rb', line 28

def initialize(config, build)
  @config = config
  @current_build = build
end

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



24
25
26
# File 'lib/codebuild-notifier/dynamo_base.rb', line 24

def config
  @config
end

#current_buildObject (readonly)

Returns the value of attribute current_build.



24
25
26
# File 'lib/codebuild-notifier/dynamo_base.rb', line 24

def current_build
  @current_build
end