Class: LanguageLayer::DetectOptions

Inherits:
Object
  • Object
show all
Includes:
Hashable
Defined in:
lib/language_detection/detect/detect_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDetectOptions

Returns a new instance of DetectOptions.



14
15
16
# File 'lib/language_detection/detect/detect_options.rb', line 14

def initialize()
  @query = nil
end

Instance Attribute Details

#access_keyObject

Returns the value of attribute access_key.



9
10
11
# File 'lib/language_detection/detect/detect_options.rb', line 9

def access_key
  @access_key
end

#queryObject

Returns the value of attribute query.



11
12
13
# File 'lib/language_detection/detect/detect_options.rb', line 11

def query
  @query
end