Class: LanguageLayer::LanguagesRequest

Inherits:
Object
  • Object
show all
Includes:
Hashable
Defined in:
lib/language_detection/languages/languages_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(query = {}) ⇒ LanguagesRequest

Returns a new instance of LanguagesRequest.



11
12
13
# File 'lib/language_detection/languages/languages_request.rb', line 11

def initialize(query = {})
  self.query = query;
end

Instance Attribute Details

#queryObject

Returns the value of attribute query.



9
10
11
# File 'lib/language_detection/languages/languages_request.rb', line 9

def query
  @query
end