class Echowrap::TasteProfile
Attributes
name[R]
pending_tickets[R]
resolved[R]
score[R]
ticket[R]
total[R]
type[R]
Public Instance Methods
id()
click to toggle source
@return [String]
# File lib/echowrap/taste_profile.rb, line 8 def id @attrs[:id] || @attrs[:ticket] end
items()
click to toggle source
@return [Array]
# File lib/echowrap/taste_profile.rb, line 13 def items @items ||= map_collection(Echowrap::Item, :items) end
keyvalues()
click to toggle source
@return [Echowrap::Keyvalues]
# File lib/echowrap/taste_profile.rb, line 18 def keyvalues @keyvalues ||= Echowrap::Keyvalues.new(@attrs[:keyvalues]) end
predictions()
click to toggle source
@return [Array]
# File lib/echowrap/taste_profile.rb, line 23 def predictions @predictions ||= map_collection(Echowrap::Prediction, :predictions) end