Class: LanguageLayer::LanguagesRequest
- Inherits:
-
Object
- Object
- LanguageLayer::LanguagesRequest
- Includes:
- Hashable
- Defined in:
- lib/language_detection/languages/languages_request.rb
Instance Attribute Summary collapse
-
#query ⇒ Object
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(query = {}) ⇒ LanguagesRequest
constructor
A new instance of LanguagesRequest.
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
#query ⇒ Object
Returns the value of attribute query.
9 10 11 |
# File 'lib/language_detection/languages/languages_request.rb', line 9 def query @query end |