kaseyaws 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1c6087a49ff8e3a5e580b69e1f320d9547d392d
4
- data.tar.gz: 4fda24e48272d4cbc45e94aa81622595db77c69a
3
+ metadata.gz: 7a3d0cb255c0d184513d89f55dced7236914a752
4
+ data.tar.gz: 4a4ef7db3f63da4b23e8192c64a89164063a10b7
5
5
  SHA512:
6
- metadata.gz: cac5e6d1aae4dc12df2aa554519b007b899c4bee5212ba51a242ee7035a10db2165464aefef29abdb0cda0d35eafc4f78a466ade7bf6a4a9439d5645892e23f2
7
- data.tar.gz: 98ddce15b9e69466406527755e21e0676e1bb1b9cea055aa32b3f5a14f42e568a2d59d905a045c4b9b967a2d12eba81f56b8560e1a99c2dac34392f799e3cd96
6
+ metadata.gz: 78867a00b8e4901e0a9f21124b35369fff134c972f0b42456b65fc814f5454fcb3b1186de35cdc70376d3c11abe546a1a692134437671b1a305644fcb4a7397b
7
+ data.tar.gz: e1b9742740196d198e3d168a9fad29f326aea6563e606680dac96fc8d2946df1d931b0acf472a6c4d16f1270e2cb2b037f84819ddb4df1abc6ab309337ecd873
data/README.md CHANGED
@@ -17,7 +17,7 @@ $ gem install kaseyaws
17
17
  or add it to your Gemfile:
18
18
 
19
19
  ```
20
- gem 'kaseyaws', '~> 0.0.4'
20
+ gem 'kaseyaws', '~> 0.0.5'
21
21
  ```
22
22
 
23
23
  ## Usage
@@ -38,4 +38,15 @@ alarm[:alarm_subject]
38
38
  # => "Monitoring generated Counter ALARM at 5:47:54 am 01-Feb-13 on computer.systems.company"
39
39
 
40
40
  ```
41
+ ## Dependencies
42
+
43
+ KaseyaWS has two Gem dependencies, Savon and json.
44
+
45
+ [Savon](http://savonrb.com/)
46
+
47
+ The Heavy metal SOAP client Savon does most of the work.
48
+
49
+ [JSON](http://flori.github.com/json)
50
+
51
+ A Ruby implementation for JSON.
41
52
 
@@ -25,11 +25,11 @@ module KaseyaWS
25
25
  @vsa_serviceurl = "https://" + hostname + "/vsaWS/kaseyaWS.asmx?WSDL"
26
26
  @client_ip = KaseyaWS::Security.client_ip
27
27
  @savon_options={
28
- wsdl: @vsa_serviceurl,
29
- convert_request_keys_to: :camelcase,
30
- env_namespace: :soap,
31
- open_timeout: 30,
32
- log: true
28
+ :wsdl => @vsa_serviceurl,
29
+ :convert_request_keys_to => :camelcase,
30
+ :env_namespace => :soap,
31
+ :open_timeout => 30,
32
+ :log => false
33
33
  }
34
34
  @sessionid = self.authenticate(username,password)
35
35
 
@@ -257,8 +257,8 @@ module KaseyaWS
257
257
 
258
258
  def get_orgs_by_scope_id (scope_id)
259
259
 
260
- response = self.client.call(:get_orgs_by_scope_id, :message => {:req =>[{
261
- :scope_i_d => scope_id,
260
+ response = self.client.call(:get_orgs_by_scope_id, :message => {"req" =>[{
261
+ :scope_i_d => scope_id,
262
262
  :session_i_d => @sessionid}]}
263
263
  )
264
264
  response.body[:get_orgs_by_scope_id_response][:get_orgs_by_scope_id_result]
@@ -358,5 +358,6 @@ module KaseyaWS
358
358
  )
359
359
  response.body[:get_ticket_notes_response][:get_ticket_notes_result]
360
360
  end
361
+
361
362
  end
362
363
  end
@@ -2,7 +2,7 @@ module KaseyaWS
2
2
  VERSION_NUMBERS = [
3
3
  VERSION_MAJOR = 0,
4
4
  VERSION_MINOR = 0,
5
- VERSION_BUILD = 5,
5
+ VERSION_BUILD = 6,
6
6
  ]
7
7
  VERSION = VERSION_NUMBERS.join(".")
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaseyaws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phillip Henslee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-30 00:00:00.000000000 Z
11
+ date: 2013-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon
@@ -108,4 +108,3 @@ signing_key:
108
108
  specification_version: 4
109
109
  summary: A simple client for the Kaseya VSA web service
110
110
  test_files: []
111
- has_rdoc: