aastra_xml_api 1.1.3 → 1.1.4

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: ae7d75972cae9301fdd8ba979b36a23041b5f7dc
4
- data.tar.gz: 3e4c6fb5e549621f79a31ded05f23f1ae7fc1256
3
+ metadata.gz: 1451e44d2c4060caf2f89de80186dba5bf268a36
4
+ data.tar.gz: 5214b7bb80e7e8e72ad41103c0092d4d7a024af9
5
5
  SHA512:
6
- metadata.gz: cb6460af4ae0b89bf219f4ef889de472d226eb045672a4a819ce45c991973cd487fedee7e04e739d1e253cdbf342834a5c5da8f0374fa628cc11df1b500f30ac
7
- data.tar.gz: 740cfca771dce061aa637436fcb74ac990517e31405b715694c372f5533cf02a50c8044484ca48e180b7443becc760db248669deeb8ce104326f87e2a5d56e9c
6
+ metadata.gz: 44f8a81ac9785e01a9dc9e4f9df08a0f700fb41dbcb7cb30439faa798fdbadcc73c0355ed5223b596059565ffac1508ba01cb0d99a278e1753145f88a58b1fbc
7
+ data.tar.gz: 49f9e726c6fd70be4db7554969e43f57bd1c6d7335381d03126a82f5e8a46d60811e32095466e914fe6f47f4bb3d709c9b7aaace8388a3014f7feb7e8dcdf886
@@ -42,14 +42,14 @@ module AastraXmlApi
42
42
 
43
43
  # Create XML text output.
44
44
  def render
45
- out = "<PhoneConfiguration"
45
+ out = "<AastraIPPhoneConfiguration"
46
46
  out += " Beep=\"yes\"" if @beep == "yes"
47
47
  out += " triggerDestroyOnExit=\"yes\"" if @triggerDestroyOnExit == "yes"
48
48
  out += ">\n"
49
49
  @entries.each do |entry|
50
50
  out += entry.render
51
51
  end
52
- out += "</PhoneConfiguration>\n"
52
+ out += "</AastraIPPhoneConfiguration>\n"
53
53
  return out
54
54
  end
55
55
  end
@@ -83,7 +83,7 @@ module AastraXmlApi
83
83
 
84
84
  # Create XML text output.
85
85
  def render
86
- out = "<PhoneDirectory"
86
+ out = "<AastraIPPhoneDirectory"
87
87
  if not @previous.nil? then
88
88
  previous = escape(@previous)
89
89
  out += " previous=\"#{previous}\""
@@ -115,7 +115,7 @@ module AastraXmlApi
115
115
  @softkeys.each do |softkey|
116
116
  out += softkey.render
117
117
  end
118
- out += "</PhoneDirectory>\n"
118
+ out += "</AastraIPPhoneDirectory>\n"
119
119
  return out
120
120
  end
121
121
  end
@@ -46,14 +46,14 @@ module AastraXmlApi
46
46
  # Create XML text output.
47
47
  def render
48
48
  title = escape(@title)
49
- out = "<PhoneExecute"
49
+ out = "<AastraIPPhoneExecute"
50
50
  out += " Beep=\"yes\"" if @beep == "yes"
51
51
  out += " triggerDestroyOnExit=\"yes\"" if @triggerDestroyOnExit == "yes"
52
52
  out += ">\n"
53
53
  @entries.each do |entry|
54
54
  out += entry.render
55
55
  end
56
- out += "</PhoneExecute>\n"
56
+ out += "</AastraIPPhoneExecute>\n"
57
57
  return out
58
58
  end
59
59
  end
@@ -81,7 +81,7 @@ module AastraXmlApi
81
81
 
82
82
  # Create XML text output.
83
83
  def render
84
- out = "<PhoneFormattedTextScreen"
84
+ out = "<AastraIPPhoneFormattedTextScreen"
85
85
  out += " destroyOnExit=\"yes\"" if @destroyOnExit == "yes"
86
86
  if not @cancelAction.nil? then
87
87
  cancelAction = escape(@cancelAction)
@@ -112,7 +112,7 @@ module AastraXmlApi
112
112
  out += icon.render
113
113
  end
114
114
  out += "</IconList>\n" if iconList != 0
115
- out += "</PhoneFormattedTextScreen>\n"
115
+ out += "</AastraIPPhoneFormattedTextScreen>\n"
116
116
  return out
117
117
  end
118
118
  end
@@ -107,7 +107,7 @@ module AastraXmlApi
107
107
  # Create XML text output.
108
108
  def render
109
109
  title = escape(@title)
110
- out = "<PhoneImageMenu"
110
+ out = "<AastraIPPhoneImageMenu"
111
111
  out += " destroyOnExit=\"yes\"" if @destroyOnExit == "yes"
112
112
  if not @cancelAction.nil? then
113
113
  cancelAction = escape(@cancelAction)
@@ -138,7 +138,7 @@ module AastraXmlApi
138
138
  out += icon.render
139
139
  end
140
140
  out += "</IconList>\n" if iconList != 0
141
- out += "</PhoneImageMenu>\n"
141
+ out += "</AastraIPPhoneImageMenu>\n"
142
142
  return out
143
143
  end
144
144
  end
@@ -110,7 +110,7 @@ module AastraXmlApi
110
110
 
111
111
  # Creates XML text output.
112
112
  def render
113
- out = "<PhoneImageScreen"
113
+ out = "<AastraIPPhoneImageScreen"
114
114
  out += " destroyOnExit=\"yes\"" if @destroyOnExit == "yes"
115
115
  out += " cancelAction=\"#{escape(@cancelAction)}\"" if not @cancelAction.nil?
116
116
  out += " Beep=\"yes\"" if @beep == "yes"
@@ -134,7 +134,7 @@ module AastraXmlApi
134
134
  out += icon.render
135
135
  end
136
136
  out += "</IconList>\n" if iconList != 0
137
- out += "</PhoneImageScreen>\n"
137
+ out += "</AastraIPPhoneImageScreen>\n"
138
138
  return out
139
139
  end
140
140
  end
@@ -211,7 +211,7 @@ module AastraXmlApi
211
211
  # Create XML text output.
212
212
  def render
213
213
  @type = 'string' if @type.nil?
214
- xml = "<PhoneInputScreen type=\"#{@type}\""
214
+ xml = "<AastraIPPhoneInputScreen type=\"#{@type}\""
215
215
  xml += " password=\"yes\"" if @password == "yes"
216
216
  xml += " destroyOnExit=\"yes\"" if @destroyOnExit == "yes"
217
217
  xml += " cancelAction=\"#{escape(@cancelAction)}\"" if not @cancelAction.nil?
@@ -244,7 +244,7 @@ module AastraXmlApi
244
244
  xml += icon.render
245
245
  end
246
246
  xml += "</IconList>\n" if iconList != 0
247
- xml += "</PhoneInputScreen>\n"
247
+ xml += "</AastraIPPhoneInputScreen>\n"
248
248
  return xml
249
249
  end
250
250
  end
@@ -55,13 +55,13 @@ module AastraXmlApi
55
55
 
56
56
  # Create XML text output.
57
57
  def render
58
- xml = "<PhoneStatus"
58
+ xml = "<AastraIPPhoneStatus"
59
59
  xml += " Beep=\"yes\"" if @beep == "yes"
60
60
  xml += " triggerDestroyOnExit=\"yes\"" if @triggerDestroyOnExit == "yes"
61
61
  xml += ">\n"
62
62
  xml += "<Session>#{@session}</Session>\n"
63
63
  @entries.each { |entry| xml += entry.render }
64
- xml += "</PhoneStatus>\n"
64
+ xml += "</AastraIPPhoneStatus>\n"
65
65
  return xml
66
66
  end
67
67
  end
@@ -110,7 +110,7 @@ module AastraXmlApi
110
110
  # Create XML text output.
111
111
  def render
112
112
  @maxitems = 30 if @maxitems.nil?
113
- xml = "<PhoneTextMenu"
113
+ xml = "<AastraIPPhoneTextMenu"
114
114
  xml += " destroyOnExit=\"yes\"" if @destroyOnExit == "yes"
115
115
  xml += " cancelAction=\"#{escape(@cancelAction)}\"" if not @cancelAction.nil?
116
116
  xml += " defaultIndex=\"#{@defaultIndex}\"" if not @defaultIndex.nil?
@@ -141,7 +141,7 @@ module AastraXmlApi
141
141
  xml += icon.render
142
142
  end
143
143
  xml += "</IconList>\n" if iconList != 0
144
- xml += "</PhoneTextMenu>\n"
144
+ xml += "</AastraIPPhoneTextMenu>\n"
145
145
  return xml
146
146
  end
147
147
  end
@@ -62,7 +62,7 @@ module AastraXmlApi
62
62
 
63
63
  # Create XML text output.
64
64
  def render
65
- xml = "<PhoneTextScreen"
65
+ xml = "<AastraIPPhoneTextScreen"
66
66
  xml += " destroyOnExit=\"yes\"" if @destroyOnExit == "yes"
67
67
  xml += " cancelAction=\"#{escape(@cancelAction)}\"" if not @cancelAction.nil?
68
68
  xml += " doneAction=\"#{escape(@doneAction)}\"" if not @doneAction.nil?
@@ -88,7 +88,7 @@ module AastraXmlApi
88
88
  xml += icon.render
89
89
  end
90
90
  xml += "</IconList>\n" if iconList != 0
91
- xml += "</PhoneTextScreen>\n"
91
+ xml += "</AastraIPPhoneTextScreen>\n"
92
92
  return xml
93
93
  end
94
94
  end
@@ -1,3 +1,3 @@
1
1
  module AastraXmlApi
2
- VERSION = "1.1.3"
2
+ VERSION = "1.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aastra_xml_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emery A. Miller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-11 00:00:00.000000000 Z
11
+ date: 2014-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler