timcase/echonest

View on GitHub
lib/echowrap/asset.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'echowrap/base'

module Echowrap
  class Asset < Echowrap::Base
    attr_reader :explicit, :filename, :id, :release, :title, :type, :year

    def echonest_ids
      @echonest_ids ||= map_collection(Echowrap::EchonestId, :echonest_ids)
    end

  end
end