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