Class: Fastly::Backend

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

Overview

An individual host you want to serve assets off

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

#addressObject

Returns the value of attribute address.



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

def address
  @address
end

#between_bytes_timeoutObject

Returns the value of attribute between_bytes_timeout.



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

def between_bytes_timeout
  @between_bytes_timeout
end

#client_certObject

Returns the value of attribute client_cert.



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

def client_cert
  @client_cert
end

#commentObject

Returns the value of attribute comment.



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

def comment
  @comment
end

#connect_timeoutObject

Returns the value of attribute connect_timeout.



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

def connect_timeout
  @connect_timeout
end

#error_thresholdObject

Returns the value of attribute error_threshold.



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

def error_threshold
  @error_threshold
end

#first_byte_timeoutObject

Returns the value of attribute first_byte_timeout.



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

def first_byte_timeout
  @first_byte_timeout
end

#healthcheckObject

Returns the value of attribute healthcheck.



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

def healthcheck
  @healthcheck
end

#hostnameObject

Returns the value of attribute hostname.



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

def hostname
  @hostname
end

#ipv4Object

Returns the value of attribute ipv4.



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

def ipv4
  @ipv4
end

#ipv6Object

Returns the value of attribute ipv6.



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

def ipv6
  @ipv6
end

#max_connObject

Returns the value of attribute max_conn.



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

def max_conn
  @max_conn
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#portObject

Returns the value of attribute port.



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

def port
  @port
end

#service_idObject

Returns the value of attribute service_id.



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

def service_id
  @service_id
end

#use_sslObject

Returns the value of attribute use_ssl.



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

def use_ssl
  @use_ssl
end

#weightObject

Returns the value of attribute weight.



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

def weight
  @weight
end