Method: Logtail::Contexts::Release#initialize
- Defined in:
- lib/logtail/contexts/release.rb
#initialize(attributes) ⇒ Release
Returns a new instance of Release.
34 35 36 37 38 |
# File 'lib/logtail/contexts/release.rb', line 34 def initialize(attributes) @commit_hash = attributes[:commit_hash] @created_at = attributes[:created_at] @version = attributes[:version] end |