Class: Crawlscope::Context

Inherits:
Data
  • Object
show all
Defined in:
lib/crawlscope/context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#allowed_statusesObject (readonly)

Returns the value of attribute allowed_statuses

Returns:

  • (Object)

    the current value of allowed_statuses



4
5
6
# File 'lib/crawlscope/context.rb', line 4

def allowed_statuses
  @allowed_statuses
end

#base_urlObject (readonly)

Returns the value of attribute base_url

Returns:

  • (Object)

    the current value of base_url



4
5
6
# File 'lib/crawlscope/context.rb', line 4

def base_url
  @base_url
end

#concurrencyObject (readonly)

Returns the value of attribute concurrency

Returns:

  • (Object)

    the current value of concurrency



4
5
6
# File 'lib/crawlscope/context.rb', line 4

def concurrency
  @concurrency
end

#fetch_executorObject (readonly)

Returns the value of attribute fetch_executor

Returns:

  • (Object)

    the current value of fetch_executor



4
5
6
# File 'lib/crawlscope/context.rb', line 4

def fetch_executor
  @fetch_executor
end

#resolve_targetObject (readonly)

Returns the value of attribute resolve_target

Returns:

  • (Object)

    the current value of resolve_target



4
5
6
# File 'lib/crawlscope/context.rb', line 4

def resolve_target
  @resolve_target
end

#resolve_targetsObject (readonly)

Returns the value of attribute resolve_targets

Returns:

  • (Object)

    the current value of resolve_targets



4
5
6
# File 'lib/crawlscope/context.rb', line 4

def resolve_targets
  @resolve_targets
end

#schema_registryObject (readonly)

Returns the value of attribute schema_registry

Returns:

  • (Object)

    the current value of schema_registry



4
5
6
# File 'lib/crawlscope/context.rb', line 4

def schema_registry
  @schema_registry
end

Instance Method Details

#fetch(name) ⇒ Object



5
6
7
# File 'lib/crawlscope/context.rb', line 5

def fetch(name)
  public_send(name)
end