Sha256: 6f192c8dad3953c994a44ecb49d3d59ce779abb493f3177d0c18fac78a10c22b

Contents?: true

Size: 287 Bytes

Versions: 10

Compression:

Stored size: 287 Bytes

Contents

module Beatport
  module Catalog
    class Images
      attr_reader :small, :medium, :large, :waveform, :banner
    
      def initialize(images)
        images.each do |format, data|
          instance_variable_set(:"@#{format}", Image.new(data))
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
beatport-0.2.0 lib/beatport/catalog/images.rb
beatport-0.1.10 lib/beatport/catalog/images.rb
beatport-0.1.9 lib/beatport/catalog/images.rb
beatport-0.1.8 lib/beatport/catalog/images.rb
beatport-0.1.7 lib/beatport/catalog/images.rb
beatport-0.1.6 lib/beatport/catalog/images.rb
beatport-0.1.5 lib/beatport/catalog/images.rb
beatport-0.1.3 lib/beatport/catalog/images.rb
beatport-0.1.2 lib/beatport/catalog/images.rb
beatport-0.1.1 lib/beatport/catalog/images.rb