Class: Crawler::Movie::Providers::Tmdb::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/crawler/movie/providers/tmdb/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



12
13
14
15
16
# File 'lib/crawler/movie/providers/tmdb/configuration.rb', line 12

def initialize
  self.region = 'FR'
  self.language = 'fr-FR'
  self.include_adult = false
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



10
11
12
# File 'lib/crawler/movie/providers/tmdb/configuration.rb', line 10

def api_key
  @api_key
end

#include_adultObject

Returns the value of attribute include_adult.



10
11
12
# File 'lib/crawler/movie/providers/tmdb/configuration.rb', line 10

def include_adult
  @include_adult
end

#languageObject

Returns the value of attribute language.



10
11
12
# File 'lib/crawler/movie/providers/tmdb/configuration.rb', line 10

def language
  @language
end

#regionObject

Returns the value of attribute region.



10
11
12
# File 'lib/crawler/movie/providers/tmdb/configuration.rb', line 10

def region
  @region
end