Method: Timber::Contexts::Release#initialize
- Defined in:
- lib/timber/contexts/release.rb
#initialize(attributes) ⇒ Release
Returns a new instance of Release.
38 39 40 41 42 |
# File 'lib/timber/contexts/release.rb', line 38 def initialize(attributes) @commit_hash = attributes[:commit_hash] @created_at = attributes[:created_at] @version = attributes[:version] end |