Method: Elasticshell::Scope#initialize
- Defined in:
- lib/elasticshell/scopes.rb
#initialize(path, options) ⇒ Scope
Returns a new instance of Scope.
62 63 64 65 66 67 |
# File 'lib/elasticshell/scopes.rb', line 62 def initialize path, self.verb = .delete(:verb) self.path = path self.client = [:client] self.scopes = initial_scopes end |