Class: Fastly::Syslog

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

Overview

An endpoint to stream syslogs to

Instance Attribute Summary collapse

Attributes inherited from Base

#fetcher

Method Summary

Methods inherited from BelongsToServiceAndVersion

#service, #version, #version=, #version_number

Methods inherited from Base

#as_hash, #delete!, delete_path, get_path, #initialize, list_path, path, post_path, put_path, #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/syslog.rb', line 4

def comment
  @comment
end

#formatObject

Returns the value of attribute format.



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

def format
  @format
end

#hostnameObject

Returns the value of attribute hostname.



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

def hostname
  @hostname
end

#ipv4Object

Returns the value of attribute ipv4.



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

def ipv4
  @ipv4
end

#ipv6Object

Returns the value of attribute ipv6.



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

def ipv6
  @ipv6
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#portObject

Returns the value of attribute port.



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

def port
  @port
end

#service_idObject

Returns the value of attribute service_id.



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

def service_id
  @service_id
end