Class: Movieman::Search

Inherits:
Object
  • Object
show all
Defined in:
lib/movieman/search.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSearch

Returns a new instance of Search.



8
9
10
11
# File 'lib/movieman/search.rb', line 8

def initialize
  @hydra = Typhoeus::Hydra.new(max_concurrency: 20)
  @hydra.disable_memoization
end

Instance Attribute Details

#hydraObject

Returns the value of attribute hydra.



6
7
8
# File 'lib/movieman/search.rb', line 6

def hydra
  @hydra
end