Class: Fastly::PapertrailLogging
- Inherits:
-
BelongsToServiceAndVersion
- Object
- Base
- BelongsToServiceAndVersion
- Fastly::PapertrailLogging
- Defined in:
- lib/fastly/papertrail_logging.rb
Overview
A Papertrail endpoint to stream logs to
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#format ⇒ Object
Returns the value of attribute format.
-
#format_version ⇒ Object
Returns the value of attribute format_version.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#name ⇒ Object
Returns the value of attribute name.
-
#port ⇒ Object
Returns the value of attribute port.
-
#response_condition ⇒ Object
Returns the value of attribute response_condition.
-
#service_id ⇒ Object
Returns the value of attribute service_id.
-
#timestamp_format ⇒ Object
Returns the value of attribute timestamp_format.
Attributes inherited from BelongsToServiceAndVersion
Attributes inherited from Base
Class Method Summary collapse
-
.path ⇒ Object
:attr: timestamp_format.
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, post_path, put_path, #require_api_key!, #save!
Constructor Details
This class inherits a constructor from Fastly::Base
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
4 5 6 |
# File 'lib/fastly/papertrail_logging.rb', line 4 def address @address end |
#format ⇒ Object
Returns the value of attribute format.
4 5 6 |
# File 'lib/fastly/papertrail_logging.rb', line 4 def format @format end |
#format_version ⇒ Object
Returns the value of attribute format_version.
4 5 6 |
# File 'lib/fastly/papertrail_logging.rb', line 4 def format_version @format_version end |
#hostname ⇒ Object
Returns the value of attribute hostname.
4 5 6 |
# File 'lib/fastly/papertrail_logging.rb', line 4 def hostname @hostname end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/fastly/papertrail_logging.rb', line 4 def name @name end |
#port ⇒ Object
Returns the value of attribute port.
4 5 6 |
# File 'lib/fastly/papertrail_logging.rb', line 4 def port @port end |
#response_condition ⇒ Object
Returns the value of attribute response_condition.
4 5 6 |
# File 'lib/fastly/papertrail_logging.rb', line 4 def response_condition @response_condition end |
#service_id ⇒ Object
Returns the value of attribute service_id.
4 5 6 |
# File 'lib/fastly/papertrail_logging.rb', line 4 def service_id @service_id end |
#timestamp_format ⇒ Object
Returns the value of attribute timestamp_format.
4 5 6 |
# File 'lib/fastly/papertrail_logging.rb', line 4 def @timestamp_format end |
Class Method Details
.path ⇒ Object
:attr: timestamp_format
strftime specified timestamp formatting (default “%Y-%m-%dT%H:%M:%S.000”).
59 60 61 |
# File 'lib/fastly/papertrail_logging.rb', line 59 def self.path 'logging/papertrail' end |