Class: ImageMosaic::Data::Validator

Inherits:
Object
  • Object
show all
Defined in:
lib/image_mosaic/data/validator.rb

Instance Method Summary collapse

Constructor Details

#initialize(urls) ⇒ Validator

Returns a new instance of Validator.



4
5
6
# File 'lib/image_mosaic/data/validator.rb', line 4

def initialize(urls)
  @urls = urls
end

Instance Method Details

#itemsObject



8
9
10
# File 'lib/image_mosaic/data/validator.rb', line 8

def items
  @items ||= validate_items.compact
end