class Ditto::Label
Attributes
data[R]
Public Class Methods
new(data)
click to toggle source
# File lib/ditto/label.rb, line 5 def initialize(data) @data = data end
Public Instance Methods
confidence()
click to toggle source
# File lib/ditto/label.rb, line 17 def confidence data[:confidence] end
id()
click to toggle source
# File lib/ditto/label.rb, line 9 def id data[:id] end
label()
click to toggle source
# File lib/ditto/label.rb, line 13 def label data[:label] end