aria_sdk 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aria_sdk/aria_rest_client.rb +2 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba4a6cb75a2542a68ffc9101b99233ebfcbdea54
|
4
|
+
data.tar.gz: 85102bd68e8116f30200f1b78a3307de99c629bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7399d3cd51cde4d97eec43f36841fb4954c634e47aa73c11453e8caf2bf4da31b8251bf218645991b95de22aef28e7257ef71f41db455cc6bdb93ac4f2185a07
|
7
|
+
data.tar.gz: be5827b236da6343e5cfa9cc102286f839e3243b9f562f024e664715f0c945be70bd3b68b4922fb3e3363d956b1d69f5bac03e913084b3859637ae5492a97349
|
@@ -23,7 +23,8 @@ class AriaRestClient
|
|
23
23
|
|
24
24
|
options.merge!(defaults)
|
25
25
|
|
26
|
-
|
26
|
+
headers = { 'Content-Type' => 'application/json' }
|
27
|
+
result = self.class.post(self.url, :body => options.to_json, :headers => headers)
|
27
28
|
|
28
29
|
return result
|
29
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aria_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aria Systems, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -73,12 +73,12 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
-
- lib/aria_sdk.rb
|
77
76
|
- lib/aria_sdk/aria_admintools_rest_client.rb
|
78
77
|
- lib/aria_sdk/aria_core_rest_client.rb
|
79
78
|
- lib/aria_sdk/aria_core_soap_client.rb
|
80
79
|
- lib/aria_sdk/aria_object_query_rest_client.rb
|
81
80
|
- lib/aria_sdk/aria_rest_client.rb
|
81
|
+
- lib/aria_sdk.rb
|
82
82
|
homepage: https://developer.ariasystems.net/
|
83
83
|
licenses: []
|
84
84
|
metadata: {}
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
100
|
rubyforge_project:
|
101
|
-
rubygems_version: 2.
|
101
|
+
rubygems_version: 2.0.14
|
102
102
|
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: A wrapper for the Aria Systems REST and SOAP APIs
|