Class: Sleet::Build
- Inherits:
-
Object
- Object
- Sleet::Build
- Defined in:
- lib/sleet/build.rb
Instance Attribute Summary collapse
-
#build_num ⇒ Object
readonly
Returns the value of attribute build_num.
Instance Method Summary collapse
- #artifacts ⇒ Object
-
#initialize(circle_ci_token:, github_user:, github_repo:, build_num:) ⇒ Build
constructor
A new instance of Build.
Constructor Details
#initialize(circle_ci_token:, github_user:, github_repo:, build_num:) ⇒ Build
Returns a new instance of Build.
7 8 9 10 11 12 |
# File 'lib/sleet/build.rb', line 7 def initialize(circle_ci_token:, github_user:, github_repo:, build_num:) @circle_ci_token = circle_ci_token @github_user = github_user @github_repo = github_repo @build_num = build_num end |
Instance Attribute Details
#build_num ⇒ Object (readonly)
Returns the value of attribute build_num.
5 6 7 |
# File 'lib/sleet/build.rb', line 5 def build_num @build_num end |