Class: Pandexio::Scope
- Inherits:
-
Object
- Object
- Pandexio::Scope
- Defined in:
- lib/scope.rb
Instance Attribute Summary collapse
-
#document_ids ⇒ Object
Returns the value of attribute document_ids.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Scope
constructor
A new instance of Scope.
Constructor Details
#initialize(params = {}) ⇒ Scope
Returns a new instance of Scope.
5 6 7 |
# File 'lib/scope.rb', line 5 def initialize(params = {}) @document_ids = params.fetch(:document_ids, []) end |
Instance Attribute Details
#document_ids ⇒ Object
Returns the value of attribute document_ids.
9 10 11 |
# File 'lib/scope.rb', line 9 def document_ids @document_ids end |