Sha256: 31fab17a879da83d2f69ada9711eebe503c218a9e9a703aad9fce3647383ee7a

Contents?: true

Size: 253 Bytes

Versions: 2

Compression:

Stored size: 253 Bytes

Contents

module Bremen
  module Track
    attr_accessor :uid, :url, :title, :author, :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

2 entries across 2 versions & 1 rubygems

Version Path
bremen-0.1.0 lib/bremen/track.rb
bremen-0.0.1 lib/bremen/track.rb