Class: Torznab::Client::Caps::SearchMode

Inherits:
Object
  • Object
show all
Defined in:
lib/torznab/client/caps/search_mode.rb

Overview

Search mode of the caps

Constant Summary collapse

SEARCH_DEFAULT_SP =

Default parameters for supported params of type search

%w[q].freeze
SEARCH_AUTHORIZED_SP =

Authorized parameters for supported params of type search

%w[q].freeze
TV_SEARCH_DEFAULT_SP =

Default parameters for supported params of type tv-search

%w[q rid season ep].freeze
TV_SEARCH_AUTHORIZED_SP =

Authorized parameters for supported params of type tv-search

%w[q rid tvdbid tvmazeid season ep].freeze
MOVIE_SEARCH_DEFAULT_SP =

Default parameters for supported params of type movie-search

%w[q].freeze
MOVIE_SEARCH_AUTHORIZED_SP =

Authorized parameters for supported params of type movie-search

%w[q imdbid].freeze

Instance Attribute Summary collapse

Instance Attribute Details

#availableObject

Returns the value of attribute available


9
10
11
# File 'lib/torznab/client/caps/search_mode.rb', line 9

def available
  @available
end

#supported_paramsObject

Returns the value of attribute supported_params


10
11
12
# File 'lib/torznab/client/caps/search_mode.rb', line 10

def supported_params
  @supported_params
end

#typeObject

Returns the value of attribute type


8
9
10
# File 'lib/torznab/client/caps/search_mode.rb', line 8

def type
  @type
end