Class: Movieman::Search
- Inherits:
-
Object
- Object
- Movieman::Search
- Defined in:
- lib/movieman/search.rb
Instance Attribute Summary collapse
-
#hydra ⇒ Object
Returns the value of attribute hydra.
Instance Method Summary collapse
-
#initialize ⇒ Search
constructor
A new instance of Search.
Constructor Details
#initialize ⇒ Search
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
#hydra ⇒ Object
Returns the value of attribute hydra.
6 7 8 |
# File 'lib/movieman/search.rb', line 6 def hydra @hydra end |