Class: Skyfall::Jetstream::CommitMessage
- Defined in:
- lib/skyfall/jetstream/commit_message.rb
Instance Attribute Summary
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(json) ⇒ CommitMessage
constructor
A new instance of CommitMessage.
- #operations ⇒ Object
Methods inherited from Message
Constructor Details
#initialize(json) ⇒ CommitMessage
Returns a new instance of CommitMessage.
7 8 9 10 |
# File 'lib/skyfall/jetstream/commit_message.rb', line 7 def initialize(json) raise DecodeError.new("Missing event details") if json['commit'].nil? super end |