Class: Fastly::Match

Inherits:
BelongsToServiceAndVersion show all
Defined in:
lib/fastly/match.rb

Overview

An object that allows matching on requests and dispatching to different methods

Instance Attribute Summary collapse

Attributes inherited from BelongsToServiceAndVersion

#version

Attributes inherited from Base

#fetcher

Method Summary

Methods inherited from BelongsToServiceAndVersion

#as_hash, delete_path, get_path, path_escape, post_path, put_path, #service, #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

#commentObject

Returns the value of attribute comment.



4
5
6
# File 'lib/fastly/match.rb', line 4

def comment
  @comment
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/fastly/match.rb', line 4

def name
  @name
end

#on_deliverObject

Returns the value of attribute on_deliver.



4
5
6
# File 'lib/fastly/match.rb', line 4

def on_deliver
  @on_deliver
end

#on_fetchObject

Returns the value of attribute on_fetch.



4
5
6
# File 'lib/fastly/match.rb', line 4

def on_fetch
  @on_fetch
end

#on_hitObject

Returns the value of attribute on_hit.



4
5
6
# File 'lib/fastly/match.rb', line 4

def on_hit
  @on_hit
end

#on_lookupObject

Returns the value of attribute on_lookup.



4
5
6
# File 'lib/fastly/match.rb', line 4

def on_lookup
  @on_lookup
end

#on_missObject

Returns the value of attribute on_miss.



4
5
6
# File 'lib/fastly/match.rb', line 4

def on_miss
  @on_miss
end

#on_recvObject

Returns the value of attribute on_recv.



4
5
6
# File 'lib/fastly/match.rb', line 4

def on_recv
  @on_recv
end

#patternObject

Returns the value of attribute pattern.



4
5
6
# File 'lib/fastly/match.rb', line 4

def pattern
  @pattern
end

#priorityObject

Returns the value of attribute priority.



4
5
6
# File 'lib/fastly/match.rb', line 4

def priority
  @priority
end

#service_idObject

Returns the value of attribute service_id.



4
5
6
# File 'lib/fastly/match.rb', line 4

def service_id
  @service_id
end