class TivoHMO::Adapters::Settings::Metadata

Dummy metadata

Attributes

item_detail_callback[RW]

Public Class Methods

new(item) click to toggle source
Calls superclass method TivoHMO::API::Metadata::new
# File lib/tivohmo/adapters/settings/metadata.rb, line 12
def initialize(item)
  super(item)
end

Public Instance Methods

star_rating() click to toggle source

hack - star_rating only gets called when viewing item_detail

# File lib/tivohmo/adapters/settings/metadata.rb, line 17
def star_rating
  item_detail_callback.try(:call, self)
  return nil
end