Class: Hashipack::ArtifactMessage
Instance Method Summary
collapse
Methods inherited from Message
#artifact?, #initialize, parse, #timestamp, #ui?
Instance Method Details
#key ⇒ Object
66
67
68
|
# File 'lib/hashipack/message.rb', line 66
def key
@parts[4]
end
|
#number ⇒ Object
62
63
64
|
# File 'lib/hashipack/message.rb', line 62
def number
@parts[3].to_i
end
|
#type ⇒ Object
58
59
60
|
# File 'lib/hashipack/message.rb', line 58
def type
:artifact
end
|
#value ⇒ Object
70
71
72
|
# File 'lib/hashipack/message.rb', line 70
def value
@parts[5]
end
|