Class: Hexapic::Repository::TestRepository

Inherits:
Object
  • Object
show all
Defined in:
lib/hexapic/repository.rb

Instance Method Summary collapse

Constructor Details

#initializeTestRepository

Returns a new instance of TestRepository.



6
7
8
# File 'lib/hexapic/repository.rb', line 6

def initialize
  puts 'Using Local Dir'
end

Instance Method Details

#find_pictures(tag) ⇒ Object



10
11
12
13
# File 'lib/hexapic/repository.rb', line 10

def find_pictures(tag)
  path = "/home/ilya/Pictures/wallpaper/10810006_1487374498191383_1977583548_n.jpg"
  (1..COUNT).map { Picture.new(path, path, path, path) }
end