ruby_omx 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ruby_omx/connection.rb +1 -1
- data/lib/ruby_omx/version.rb +1 -1
- metadata +3 -3
data/lib/ruby_omx/connection.rb
CHANGED
@@ -33,7 +33,7 @@ module RubyOmx
|
|
33
33
|
# Make the request, based on the appropriate request object
|
34
34
|
# Called from RubyOmx::Base
|
35
35
|
def request(verb, body = nil, attempts = 0, &block)
|
36
|
-
request = Net::HTTP.const_get(verb.to_s.capitalize).new(@path)
|
36
|
+
request = Net::HTTP.const_get(verb.to_s.capitalize).new(@path, {'User-Agent' => 'ruby_omx ' + RubyOmx::VERSION})
|
37
37
|
request.body = body
|
38
38
|
request.content_length = request.body.size
|
39
39
|
request.content_type = "text/xml; charset=utf-8"
|
data/lib/ruby_omx/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_omx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: roxml
|
@@ -61,7 +61,7 @@ dependencies:
|
|
61
61
|
version: 3.0.0
|
62
62
|
description: Ruby wrapper for OrderMotion (OMX) developer API
|
63
63
|
email:
|
64
|
-
-
|
64
|
+
- aewible@gmail.com
|
65
65
|
executables: []
|
66
66
|
extensions: []
|
67
67
|
extra_rdoc_files: []
|