Class: Crawlscope::Context
- Inherits:
-
Data
- Object
- Data
- Crawlscope::Context
- Defined in:
- lib/crawlscope/context.rb
Instance Attribute Summary collapse
-
#allowed_statuses ⇒ Object
readonly
Returns the value of attribute allowed_statuses.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#resolve_target ⇒ Object
readonly
Returns the value of attribute resolve_target.
-
#schema_registry ⇒ Object
readonly
Returns the value of attribute schema_registry.
Instance Method Summary collapse
Instance Attribute Details
#allowed_statuses ⇒ Object (readonly)
Returns the value of attribute allowed_statuses
4 5 6 |
# File 'lib/crawlscope/context.rb', line 4 def allowed_statuses @allowed_statuses end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url
4 5 6 |
# File 'lib/crawlscope/context.rb', line 4 def base_url @base_url end |
#resolve_target ⇒ Object (readonly)
Returns the value of attribute resolve_target
4 5 6 |
# File 'lib/crawlscope/context.rb', line 4 def resolve_target @resolve_target end |
#schema_registry ⇒ Object (readonly)
Returns the value of attribute 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 |