Class: Pandoru::Models::SongFeedback

Inherits:
Base
  • Object
show all
Defined in:
lib/pandoru/models/station.rb

Overview

A single thumbs-up/down on a song.

Instance Attribute Summary

Attributes inherited from Base

#data

Instance Method Summary collapse

Methods inherited from Base

date_field, field, fields, from_json, from_json_list, #initialize, #inspect, #populate_from_json, #to_h

Constructor Details

This class inherits a constructor from Pandoru::Models::Base

Instance Method Details

#positive?Boolean

Returns:

  • (Boolean)


69
70
71
# File 'lib/pandoru/models/station.rb', line 69

def positive?
  is_positive == true
end