Sha256: c059e4d69e044e7a8f861394e982014bef5e6706ae1e142bde77c461e9611d63

Contents?: true

Size: 280 Bytes

Versions: 5

Compression:

Stored size: 280 Bytes

Contents

module Beatport
  module Catalog
    class DynamicImages
      attr_reader :main, :banner, :waveform

      def initialize(images)
        images.each do |format, data|
          instance_variable_set(:"@#{format}", DynamicImage.new(data))
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
beatport-0.4.0 lib/beatport/catalog/dynamic_images.rb
beatport-0.3.0 lib/beatport/catalog/dynamic_images.rb
beatport-0.2.3 lib/beatport/catalog/dynamic_images.rb
beatport-0.2.2 lib/beatport/catalog/dynamic_images.rb
beatport-0.2.1 lib/beatport/catalog/dynamic_images.rb