Method: Jaql::Resource#initialize

Defined in:
lib/jaql/resource.rb

#initialize(scope, options = {}) ⇒ Resource

Returns a new instance of Resource.

Parameters:

  • options (Hash) (defaults to: {})
  • scope (Object)

    defines the scope to search



15
16
17
# File 'lib/jaql/resource.rb', line 15

def initialize(scope, options={})
  @scope = scope
end