lib/frenetic/configuration.rb in frenetic-0.0.20.alpha.3 vs lib/frenetic/configuration.rb in frenetic-0.0.20.alpha.4
- old
+ new
@@ -29,10 +29,11 @@
api_token: api_token,
cache: cache,
default_root_cache_age: default_root_cache_age,
headers: headers,
password: password,
+ ssl: ssl,
url: url,
username: username
}
end
@@ -62,9 +63,13 @@
end
end
def password
@_cfg[:password] || @_cfg[:api_key]
+ end
+
+ def ssl
+ @_cfg[:ssl] || { verify:true }
end
def url
Addressable::URI.parse @_cfg[:url]
end
\ No newline at end of file