Class: Fastly::Match
- Inherits:
-
BelongsToServiceAndVersion
- Object
- Base
- BelongsToServiceAndVersion
- Fastly::Match
- Defined in:
- lib/fastly/match.rb
Overview
An object that allows matching on requests and dispatching to different methods
Instance Attribute Summary collapse
-
#comment ⇒ Object
Returns the value of attribute comment.
-
#name ⇒ Object
Returns the value of attribute name.
-
#on_deliver ⇒ Object
Returns the value of attribute on_deliver.
-
#on_fetch ⇒ Object
Returns the value of attribute on_fetch.
-
#on_hit ⇒ Object
Returns the value of attribute on_hit.
-
#on_lookup ⇒ Object
Returns the value of attribute on_lookup.
-
#on_miss ⇒ Object
Returns the value of attribute on_miss.
-
#on_recv ⇒ Object
Returns the value of attribute on_recv.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#service_id ⇒ Object
Returns the value of attribute service_id.
Attributes inherited from Base
Method Summary
Methods inherited from BelongsToServiceAndVersion
#as_hash, #service, #version, #version=, #version_number
Methods inherited from Base
#as_hash, #delete!, delete_path, get_path, #initialize, list_path, path, post_path, put_path, #require_api_key!, #save!
Constructor Details
This class inherits a constructor from Fastly::Base
Instance Attribute Details
#comment ⇒ Object
Returns the value of attribute comment.
4 5 6 |
# File 'lib/fastly/match.rb', line 4 def comment @comment end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/fastly/match.rb', line 4 def name @name end |
#on_deliver ⇒ Object
Returns the value of attribute on_deliver.
4 5 6 |
# File 'lib/fastly/match.rb', line 4 def on_deliver @on_deliver end |
#on_fetch ⇒ Object
Returns the value of attribute on_fetch.
4 5 6 |
# File 'lib/fastly/match.rb', line 4 def on_fetch @on_fetch end |
#on_hit ⇒ Object
Returns the value of attribute on_hit.
4 5 6 |
# File 'lib/fastly/match.rb', line 4 def on_hit @on_hit end |
#on_lookup ⇒ Object
Returns the value of attribute on_lookup.
4 5 6 |
# File 'lib/fastly/match.rb', line 4 def on_lookup @on_lookup end |
#on_miss ⇒ Object
Returns the value of attribute on_miss.
4 5 6 |
# File 'lib/fastly/match.rb', line 4 def on_miss @on_miss end |
#on_recv ⇒ Object
Returns the value of attribute on_recv.
4 5 6 |
# File 'lib/fastly/match.rb', line 4 def on_recv @on_recv end |
#pattern ⇒ Object
Returns the value of attribute pattern.
4 5 6 |
# File 'lib/fastly/match.rb', line 4 def pattern @pattern end |
#priority ⇒ Object
Returns the value of attribute priority.
4 5 6 |
# File 'lib/fastly/match.rb', line 4 def priority @priority end |
#service_id ⇒ Object
Returns the value of attribute service_id.
4 5 6 |
# File 'lib/fastly/match.rb', line 4 def service_id @service_id end |