class Filemaker::Configuration
Attributes
account_name[RW]
endpoint[RW]
host[RW]
log[RW]
password[RW]
ssl[RW]
ssl_verifyhost[RW]
ssl_verifypeer[RW]
timeout[RW]
Public Class Methods
new()
click to toggle source
# File lib/filemaker/configuration.rb, line 8 def initialize @endpoint = '/fmi/xml/fmresultset.xml' @timeout = 0 @ssl_verifypeer = false @ssl_verifyhost = 0 end
Public Instance Methods
connection_options()
click to toggle source
# File lib/filemaker/configuration.rb, line 25 def connection_options ssl.is_a?(Hash) ? { ssl: ssl } : {} end
is_ssl?()
click to toggle source
# File lib/filemaker/configuration.rb, line 29 def is_ssl? ssl.is_a?(Hash) || ssl == true end
not_configurable?()
click to toggle source
# File lib/filemaker/configuration.rb, line 15 def not_configurable? host_missing? || account_name_missing? || password_missing? end
url()
click to toggle source
# File lib/filemaker/configuration.rb, line 33 def url is_ssl? ? "https://#{host}" : "http://#{host}" end