100% free for Open Source, forever. Get another set of eyes on your code.

Take a look. Our new design is currently in beta, but you can start using it today!

A
 

Echowrap::Track

Updated more than 3 months ago.

No issues here.

Congrats! Give yourself time to reflect on your awesome coding skillz.

require 'echowrap/base'

module Echowrap
    class Track < Echowrap::Base
      attr_reader :album_date, :album_name, :album_type, :analysis_channels, :analysis_sample_rate,
                  :analyzer_version, :artist, :attributes, :audio_md5, :bitrate, :catalog,
                  :code_version, :codestring, :decoder, :duration, :echoprint_version,
                  :echoprintstring, :end_of_fade_in, :foreign_id, :foreign_release_id, :id,
                  :key, :key_confidence, :loudness, :md5, :mode, :mode_confidence, :num_samples,
                  :offset_seconds, :preview_url, :release, :release_image, :sample_md5, :samplerate,
                  :song_id, :start_of_fade_out, :status, :synch_version, :synchstring, :tempo,
                  :tempo_confidence, :time_signature, :time_signature_confidence, :title,
                  :window_seconds

      # @return [Echowrap::AudioSummary]
      def audio_summary
        @audio_summary ||= Echowrap::AudioSummary.new(@attrs[:audio_summary])
      end

    end
end
4
Complexity
0
Duplication
21
Lines
1
Methods
3.7
Complexity / M
1
Churn
17
Lines of Code
17
LOC / Method