Sha256: 946f1de14d370f1be7ac558bfd57b4321072cb64b4b4a3d739dff76bedc746a4

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

module Bremen
  module Track
    attr_accessor :uid, :url, :title, :author, :thumbnail_url, :length, :created_at, :updated_at

    def initialize attrs = {}
      attrs.each do |key, value|
        send("#{key}=", value) if respond_to?(key)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bremen-0.1.1 lib/bremen/track.rb