class Rubillow::Configuration
Configuration
options
Attributes
host[RW]
@return [String] HTTP host (defaults to www.zillow.com
)
http_open_timeout[RW]
@return [Integer] HTTP connection timeout seconds (defaults to 2
)
http_read_timeout[RW]
@return [Integer] HTTP read timeout seconds (defaults to 2
)
path[RW]
@return [String] relative service path (defaults to webservice/
)
port[RW]
@return [Integer] HTTP port (defaults to 80
)
use_ssl[RW]
@return [Boolean] Use HTTPS (defaults to false
)
zwsid[RW]
@return [String] Zillow API key. See {www.zillow.com/howto/api/APIOverview.htm}.
Public Class Methods
new()
click to toggle source
@private
# File lib/rubillow/configuration.rb, line 26 def initialize self.host = "www.zillow.com" self.port = 443 self.use_ssl = true self.path = "webservice/" self.http_open_timeout = 2 self.http_read_timeout = 2 end