flixit 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/flixit/record.rb +6 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.19
|
data/lib/flixit/record.rb
CHANGED
@@ -33,10 +33,14 @@ protected
|
|
33
33
|
def post(path, body)
|
34
34
|
begin
|
35
35
|
flixcloud = RestClient::Resource.new(
|
36
|
-
"https://
|
36
|
+
"https://flixcloud.com/#{path}",
|
37
|
+
# :ssl_client_cert => OpenSSL::X509::Certificate.new(File.read("host.cert")),
|
38
|
+
# :ssl_client_key => OpenSSL::PKey::RSA.new(File.read("host.key"), ""),
|
39
|
+
# :ssl_ca_file => Flixit::CA_FILE,
|
40
|
+
# :verify_ssl => OpenSSL::SSL::VERIFY_PEER
|
37
41
|
:verify_ssl => false
|
38
42
|
)
|
39
|
-
Flixit::Response.new(flixcloud.post body, :content_type =>
|
43
|
+
Flixit::Response.new(flixcloud.post body, :content_type => 'application/xml', :accept => 'text/xml')
|
40
44
|
# rescue HTTPClient::KeepAliveDisconnected
|
41
45
|
# raise Flixit::ServerBrokeConnection, $!.message
|
42
46
|
# rescue HTTPClient::ReceiveTimeoutError
|