kmts 2.0.0

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.
Files changed (72) hide show
  1. data/.gitignore +5 -0
  2. data/CHANGELOG +4 -0
  3. data/Gemfile +4 -0
  4. data/Gemfile.lock +29 -0
  5. data/LICENSE +202 -0
  6. data/README.md +64 -0
  7. data/README.rdoc +14 -0
  8. data/Rakefile +5 -0
  9. data/bin/km_send +35 -0
  10. data/doc/Accept.html +546 -0
  11. data/doc/Gemfile.html +110 -0
  12. data/doc/Hash.html +283 -0
  13. data/doc/Helper.html +318 -0
  14. data/doc/KMError.html +159 -0
  15. data/doc/KMTS.html +493 -0
  16. data/doc/KMTS/IdentError.html +159 -0
  17. data/doc/KMTS/InitError.html +159 -0
  18. data/doc/KMTS/SaaS.html +451 -0
  19. data/doc/Object.html +211 -0
  20. data/doc/README_rdoc.html +122 -0
  21. data/doc/Rakefile.html +111 -0
  22. data/doc/String.html +244 -0
  23. data/doc/bin/km_send.html +54 -0
  24. data/doc/created.rid +15 -0
  25. data/doc/images/brick.png +0 -0
  26. data/doc/images/brick_link.png +0 -0
  27. data/doc/images/bug.png +0 -0
  28. data/doc/images/bullet_black.png +0 -0
  29. data/doc/images/bullet_toggle_minus.png +0 -0
  30. data/doc/images/bullet_toggle_plus.png +0 -0
  31. data/doc/images/date.png +0 -0
  32. data/doc/images/find.png +0 -0
  33. data/doc/images/loadingAnimation.gif +0 -0
  34. data/doc/images/macFFBgHack.png +0 -0
  35. data/doc/images/package.png +0 -0
  36. data/doc/images/page_green.png +0 -0
  37. data/doc/images/page_white_text.png +0 -0
  38. data/doc/images/page_white_width.png +0 -0
  39. data/doc/images/plugin.png +0 -0
  40. data/doc/images/ruby.png +0 -0
  41. data/doc/images/tag_green.png +0 -0
  42. data/doc/images/wrench.png +0 -0
  43. data/doc/images/wrench_orange.png +0 -0
  44. data/doc/images/zoom.png +0 -0
  45. data/doc/index.html +142 -0
  46. data/doc/js/darkfish.js +116 -0
  47. data/doc/js/jquery.js +32 -0
  48. data/doc/js/quicksearch.js +114 -0
  49. data/doc/js/thickbox-compressed.js +10 -0
  50. data/doc/lib/km/saas_rb.html +54 -0
  51. data/doc/lib/km/version_rb.html +52 -0
  52. data/doc/lib/km_rb.html +60 -0
  53. data/doc/rdoc.css +730 -0
  54. data/doc/spec/accept_rb.html +62 -0
  55. data/doc/spec/km_old_rb.html +54 -0
  56. data/doc/spec/km_saas_spec_rb.html +56 -0
  57. data/doc/spec/km_send_spec_rb.html +54 -0
  58. data/doc/spec/km_spec_rb.html +54 -0
  59. data/doc/spec/setup_rb.html +60 -0
  60. data/doc/spec/watchr_rb.html +52 -0
  61. data/kmts.gemspec +26 -0
  62. data/lib/kmts.rb +245 -0
  63. data/lib/kmts/saas.rb +39 -0
  64. data/lib/kmts/version.rb +3 -0
  65. data/spec/accept.rb +91 -0
  66. data/spec/km_old.rb +105 -0
  67. data/spec/km_saas_spec.rb +107 -0
  68. data/spec/km_send_spec.rb +98 -0
  69. data/spec/km_spec.rb +175 -0
  70. data/spec/setup.rb +77 -0
  71. data/spec/watchr.rb +3 -0
  72. metadata +190 -0
@@ -0,0 +1,159 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Class: KMTS::IdentError</title>
9
+
10
+ <link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="../js/jquery.js" type="text/javascript"
13
+ charset="utf-8"></script>
14
+ <script src="../js/thickbox-compressed.js" type="text/javascript"
15
+ charset="utf-8"></script>
16
+ <script src="../js/quicksearch.js" type="text/javascript"
17
+ charset="utf-8"></script>
18
+ <script src="../js/darkfish.js" type="text/javascript"
19
+ charset="utf-8"></script>
20
+
21
+ </head>
22
+ <body class="class">
23
+
24
+ <div id="metadata">
25
+ <div id="home-metadata">
26
+ <div id="home-section" class="section">
27
+ <h3 class="section-header">
28
+ <a href="../index.html">Home</a>
29
+ <a href="../index.html#classes">Classes</a>
30
+ <a href="../index.html#methods">Methods</a>
31
+ </h3>
32
+ </div>
33
+ </div>
34
+
35
+ <div id="file-metadata">
36
+ <div id="file-list-section" class="section">
37
+ <h3 class="section-header">In Files</h3>
38
+ <div class="section-body">
39
+ <ul>
40
+
41
+ <li><a href="../lib/km_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
+ class="thickbox" title="lib/km.rb">lib/km.rb</a></li>
43
+
44
+ </ul>
45
+ </div>
46
+ </div>
47
+
48
+
49
+ </div>
50
+
51
+ <div id="class-metadata">
52
+
53
+ <!-- Parent Class -->
54
+
55
+ <div id="parent-class-section" class="section">
56
+ <h3 class="section-header">Parent</h3>
57
+
58
+ <p class="link">StandardError</p>
59
+
60
+ </div>
61
+
62
+
63
+ <!-- Namespace Contents -->
64
+
65
+
66
+ <!-- Method Quickref -->
67
+
68
+
69
+ <!-- Included Modules -->
70
+
71
+ </div>
72
+
73
+ <div id="project-metadata">
74
+
75
+
76
+ <div id="fileindex-section" class="section project-section">
77
+ <h3 class="section-header">Files</h3>
78
+ <ul>
79
+
80
+ <li class="file"><a href="../Gemfile.html">Gemfile</a></li>
81
+
82
+ <li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
83
+
84
+ <li class="file"><a href="../Rakefile.html">Rakefile</a></li>
85
+
86
+ </ul>
87
+ </div>
88
+
89
+
90
+ <div id="classindex-section" class="section project-section">
91
+ <h3 class="section-header">Class/Module Index
92
+ <span class="search-toggle"><img src="../images/find.png"
93
+ height="16" width="16" alt="[+]"
94
+ title="show/hide quicksearch" /></span></h3>
95
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
96
+ <fieldset>
97
+ <legend>Quicksearch</legend>
98
+ <input type="text" name="quicksearch" value=""
99
+ class="quicksearch-field" />
100
+ </fieldset>
101
+ </form>
102
+
103
+ <ul class="link-list">
104
+
105
+ <li><a href="../KMTS.html">KMTS</a></li>
106
+
107
+ <li><a href="../KMTS/IdentError.html">KMTS::IdentError</a></li>
108
+
109
+ <li><a href="../KMTS/InitError.html">KMTS::InitError</a></li>
110
+
111
+ <li><a href="../KMTS/SaaS.html">KMTS::SaaS</a></li>
112
+
113
+ <li><a href="../Accept.html">Accept</a></li>
114
+
115
+ <li><a href="../Hash.html">Hash</a></li>
116
+
117
+ <li><a href="../Helper.html">Helper</a></li>
118
+
119
+ <li><a href="../KMError.html">KMError</a></li>
120
+
121
+ <li><a href="../Object.html">Object</a></li>
122
+
123
+ <li><a href="../String.html">String</a></li>
124
+
125
+ </ul>
126
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
127
+ </div>
128
+
129
+
130
+ </div>
131
+ </div>
132
+
133
+ <div id="documentation">
134
+ <h1 class="class">KMTS::IdentError</h1>
135
+
136
+ <div id="description">
137
+
138
+ </div>
139
+
140
+ <!-- Constants -->
141
+
142
+
143
+ <!-- Attributes -->
144
+
145
+
146
+ <!-- Methods -->
147
+
148
+
149
+ </div>
150
+
151
+ <div id="validator-badges">
152
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
153
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
154
+ Rdoc Generator</a> 2</small>.</p>
155
+ </div>
156
+
157
+ </body>
158
+ </html>
159
+
@@ -0,0 +1,159 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Class: KMTS::InitError</title>
9
+
10
+ <link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="../js/jquery.js" type="text/javascript"
13
+ charset="utf-8"></script>
14
+ <script src="../js/thickbox-compressed.js" type="text/javascript"
15
+ charset="utf-8"></script>
16
+ <script src="../js/quicksearch.js" type="text/javascript"
17
+ charset="utf-8"></script>
18
+ <script src="../js/darkfish.js" type="text/javascript"
19
+ charset="utf-8"></script>
20
+
21
+ </head>
22
+ <body class="class">
23
+
24
+ <div id="metadata">
25
+ <div id="home-metadata">
26
+ <div id="home-section" class="section">
27
+ <h3 class="section-header">
28
+ <a href="../index.html">Home</a>
29
+ <a href="../index.html#classes">Classes</a>
30
+ <a href="../index.html#methods">Methods</a>
31
+ </h3>
32
+ </div>
33
+ </div>
34
+
35
+ <div id="file-metadata">
36
+ <div id="file-list-section" class="section">
37
+ <h3 class="section-header">In Files</h3>
38
+ <div class="section-body">
39
+ <ul>
40
+
41
+ <li><a href="../lib/km_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
+ class="thickbox" title="lib/km.rb">lib/km.rb</a></li>
43
+
44
+ </ul>
45
+ </div>
46
+ </div>
47
+
48
+
49
+ </div>
50
+
51
+ <div id="class-metadata">
52
+
53
+ <!-- Parent Class -->
54
+
55
+ <div id="parent-class-section" class="section">
56
+ <h3 class="section-header">Parent</h3>
57
+
58
+ <p class="link">StandardError</p>
59
+
60
+ </div>
61
+
62
+
63
+ <!-- Namespace Contents -->
64
+
65
+
66
+ <!-- Method Quickref -->
67
+
68
+
69
+ <!-- Included Modules -->
70
+
71
+ </div>
72
+
73
+ <div id="project-metadata">
74
+
75
+
76
+ <div id="fileindex-section" class="section project-section">
77
+ <h3 class="section-header">Files</h3>
78
+ <ul>
79
+
80
+ <li class="file"><a href="../Gemfile.html">Gemfile</a></li>
81
+
82
+ <li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
83
+
84
+ <li class="file"><a href="../Rakefile.html">Rakefile</a></li>
85
+
86
+ </ul>
87
+ </div>
88
+
89
+
90
+ <div id="classindex-section" class="section project-section">
91
+ <h3 class="section-header">Class/Module Index
92
+ <span class="search-toggle"><img src="../images/find.png"
93
+ height="16" width="16" alt="[+]"
94
+ title="show/hide quicksearch" /></span></h3>
95
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
96
+ <fieldset>
97
+ <legend>Quicksearch</legend>
98
+ <input type="text" name="quicksearch" value=""
99
+ class="quicksearch-field" />
100
+ </fieldset>
101
+ </form>
102
+
103
+ <ul class="link-list">
104
+
105
+ <li><a href="../KMTS.html">KMTS</a></li>
106
+
107
+ <li><a href="../KMTS/IdentError.html">KMTS::IdentError</a></li>
108
+
109
+ <li><a href="../KMTS/InitError.html">KMTS::InitError</a></li>
110
+
111
+ <li><a href="../KMTS/SaaS.html">KMTS::SaaS</a></li>
112
+
113
+ <li><a href="../Accept.html">Accept</a></li>
114
+
115
+ <li><a href="../Hash.html">Hash</a></li>
116
+
117
+ <li><a href="../Helper.html">Helper</a></li>
118
+
119
+ <li><a href="../KMError.html">KMError</a></li>
120
+
121
+ <li><a href="../Object.html">Object</a></li>
122
+
123
+ <li><a href="../String.html">String</a></li>
124
+
125
+ </ul>
126
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
127
+ </div>
128
+
129
+
130
+ </div>
131
+ </div>
132
+
133
+ <div id="documentation">
134
+ <h1 class="class">KMTS::InitError</h1>
135
+
136
+ <div id="description">
137
+
138
+ </div>
139
+
140
+ <!-- Constants -->
141
+
142
+
143
+ <!-- Attributes -->
144
+
145
+
146
+ <!-- Methods -->
147
+
148
+
149
+ </div>
150
+
151
+ <div id="validator-badges">
152
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
153
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
154
+ Rdoc Generator</a> 2</small>.</p>
155
+ </div>
156
+
157
+ </body>
158
+ </html>
159
+
@@ -0,0 +1,451 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Module: KMTS::SaaS</title>
9
+
10
+ <link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="../js/jquery.js" type="text/javascript"
13
+ charset="utf-8"></script>
14
+ <script src="../js/thickbox-compressed.js" type="text/javascript"
15
+ charset="utf-8"></script>
16
+ <script src="../js/quicksearch.js" type="text/javascript"
17
+ charset="utf-8"></script>
18
+ <script src="../js/darkfish.js" type="text/javascript"
19
+ charset="utf-8"></script>
20
+
21
+ </head>
22
+ <body class="module">
23
+
24
+ <div id="metadata">
25
+ <div id="home-metadata">
26
+ <div id="home-section" class="section">
27
+ <h3 class="section-header">
28
+ <a href="../index.html">Home</a>
29
+ <a href="../index.html#classes">Classes</a>
30
+ <a href="../index.html#methods">Methods</a>
31
+ </h3>
32
+ </div>
33
+ </div>
34
+
35
+ <div id="file-metadata">
36
+ <div id="file-list-section" class="section">
37
+ <h3 class="section-header">In Files</h3>
38
+ <div class="section-body">
39
+ <ul>
40
+
41
+ <li><a href="../lib/km/saas_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
+ class="thickbox" title="lib/km/saas.rb">lib/km/saas.rb</a></li>
43
+
44
+ </ul>
45
+ </div>
46
+ </div>
47
+
48
+
49
+ </div>
50
+
51
+ <div id="class-metadata">
52
+
53
+ <!-- Parent Class -->
54
+
55
+
56
+ <!-- Namespace Contents -->
57
+
58
+
59
+ <!-- Method Quickref -->
60
+
61
+ <div id="method-list-section" class="section">
62
+ <h3 class="section-header">Methods</h3>
63
+ <ul class="link-list">
64
+
65
+ <li><a href="#method-i-billed">#billed</a></li>
66
+
67
+ <li><a href="#method-i-canceled">#canceled</a></li>
68
+
69
+ <li><a href="#method-i-cancelled">#cancelled</a></li>
70
+
71
+ <li><a href="#method-i-downgraded">#downgraded</a></li>
72
+
73
+ <li><a href="#method-i-signed_up">#signed_up</a></li>
74
+
75
+ <li><a href="#method-i-signedup">#signedup</a></li>
76
+
77
+ <li><a href="#method-i-upgraded">#upgraded</a></li>
78
+
79
+ <li><a href="#method-i-visited_site">#visited_site</a></li>
80
+
81
+ </ul>
82
+ </div>
83
+
84
+
85
+ <!-- Included Modules -->
86
+
87
+ </div>
88
+
89
+ <div id="project-metadata">
90
+
91
+
92
+ <div id="fileindex-section" class="section project-section">
93
+ <h3 class="section-header">Files</h3>
94
+ <ul>
95
+
96
+ <li class="file"><a href="../Gemfile.html">Gemfile</a></li>
97
+
98
+ <li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
99
+
100
+ <li class="file"><a href="../Rakefile.html">Rakefile</a></li>
101
+
102
+ </ul>
103
+ </div>
104
+
105
+
106
+ <div id="classindex-section" class="section project-section">
107
+ <h3 class="section-header">Class/Module Index
108
+ <span class="search-toggle"><img src="../images/find.png"
109
+ height="16" width="16" alt="[+]"
110
+ title="show/hide quicksearch" /></span></h3>
111
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
112
+ <fieldset>
113
+ <legend>Quicksearch</legend>
114
+ <input type="text" name="quicksearch" value=""
115
+ class="quicksearch-field" />
116
+ </fieldset>
117
+ </form>
118
+
119
+ <ul class="link-list">
120
+
121
+ <li><a href="../KMTS.html">KMTS</a></li>
122
+
123
+ <li><a href="../KMTS/IdentError.html">KMTS::IdentError</a></li>
124
+
125
+ <li><a href="../KMTS/InitError.html">KMTS::InitError</a></li>
126
+
127
+ <li><a href="../KMTS/SaaS.html">KMTS::SaaS</a></li>
128
+
129
+ <li><a href="../Accept.html">Accept</a></li>
130
+
131
+ <li><a href="../Hash.html">Hash</a></li>
132
+
133
+ <li><a href="../Helper.html">Helper</a></li>
134
+
135
+ <li><a href="../KMError.html">KMError</a></li>
136
+
137
+ <li><a href="../Object.html">Object</a></li>
138
+
139
+ <li><a href="../String.html">String</a></li>
140
+
141
+ </ul>
142
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
143
+ </div>
144
+
145
+
146
+ </div>
147
+ </div>
148
+
149
+ <div id="documentation">
150
+ <h1 class="module">KMTS::SaaS</h1>
151
+
152
+ <div id="description">
153
+
154
+ </div>
155
+
156
+ <!-- Constants -->
157
+
158
+
159
+ <!-- Attributes -->
160
+
161
+
162
+ <!-- Methods -->
163
+
164
+ <div id="public-instance-method-details" class="method-section section">
165
+ <h3 class="section-header">Public Instance Methods</h3>
166
+
167
+
168
+ <div id="billed-method" class="method-detail ">
169
+ <a name="method-i-billed"></a>
170
+
171
+
172
+ <div class="method-heading">
173
+ <span class="method-name">billed</span><span
174
+ class="method-args">(amount=nil, description=nil, props={})</span>
175
+ <span class="method-click-advice">click to toggle source</span>
176
+ </div>
177
+
178
+
179
+ <div class="method-description">
180
+
181
+
182
+
183
+
184
+
185
+ <div class="method-source-code"
186
+ id="billed-source">
187
+ <pre>
188
+ <span class="ruby-comment"># File lib/km/saas.rb, line 17</span>
189
+ def billed(amount=nil, description=nil, props={})
190
+ record <span class="ruby-string">'Billed'</span>, {<span class="ruby-string">'Billing Amount'</span> =&gt; amount, <span class="ruby-string">'Billing Description'</span> =&gt; description}.merge(props)
191
+ end</pre>
192
+ </div>
193
+
194
+ </div>
195
+
196
+
197
+
198
+
199
+ </div>
200
+
201
+
202
+ <div id="canceled-method" class="method-detail ">
203
+ <a name="method-i-canceled"></a>
204
+
205
+
206
+ <div class="method-heading">
207
+ <span class="method-name">canceled</span><span
208
+ class="method-args">(props={})</span>
209
+ <span class="method-click-advice">click to toggle source</span>
210
+ </div>
211
+
212
+
213
+ <div class="method-description">
214
+
215
+
216
+
217
+
218
+
219
+ <div class="method-source-code"
220
+ id="canceled-source">
221
+ <pre>
222
+ <span class="ruby-comment"># File lib/km/saas.rb, line 21</span>
223
+ def canceled(props={})
224
+ record <span class="ruby-string">'Canceled'</span>, props
225
+ end</pre>
226
+ </div>
227
+
228
+ </div>
229
+
230
+
231
+ <div class="aliases">
232
+ Also aliased as: <a href="SaaS.html#method-i-cancelled">cancelled</a>
233
+ </div>
234
+
235
+
236
+
237
+ </div>
238
+
239
+
240
+ <div id="cancelled-method" class="method-detail method-alias">
241
+ <a name="method-i-cancelled"></a>
242
+
243
+
244
+ <div class="method-heading">
245
+ <span class="method-name">cancelled</span><span
246
+ class="method-args">(props={})</span>
247
+ <span class="method-click-advice">click to toggle source</span>
248
+ </div>
249
+
250
+
251
+ <div class="method-description">
252
+
253
+
254
+
255
+
256
+
257
+ </div>
258
+
259
+
260
+
261
+
262
+ <div class="aliases">
263
+ Alias for: <a href="SaaS.html#method-i-canceled">canceled</a>
264
+ </div>
265
+
266
+ </div>
267
+
268
+
269
+ <div id="downgraded-method" class="method-detail ">
270
+ <a name="method-i-downgraded"></a>
271
+
272
+
273
+ <div class="method-heading">
274
+ <span class="method-name">downgraded</span><span
275
+ class="method-args">(plan=nil, props = {})</span>
276
+ <span class="method-click-advice">click to toggle source</span>
277
+ </div>
278
+
279
+
280
+ <div class="method-description">
281
+
282
+
283
+
284
+
285
+
286
+ <div class="method-source-code"
287
+ id="downgraded-source">
288
+ <pre>
289
+ <span class="ruby-comment"># File lib/km/saas.rb, line 13</span>
290
+ def downgraded(plan=nil, props = {})
291
+ record <span class="ruby-string">'Downgraded'</span>, {<span class="ruby-string">'Plan Name'</span> =&gt; plan}.merge(props)
292
+ end</pre>
293
+ </div>
294
+
295
+ </div>
296
+
297
+
298
+
299
+
300
+ </div>
301
+
302
+
303
+ <div id="signed_up-method" class="method-detail ">
304
+ <a name="method-i-signed_up"></a>
305
+
306
+
307
+ <div class="method-heading">
308
+ <span class="method-name">signed_up</span><span
309
+ class="method-args">(plan=nil, props = {})</span>
310
+ <span class="method-click-advice">click to toggle source</span>
311
+ </div>
312
+
313
+
314
+ <div class="method-description">
315
+
316
+
317
+
318
+
319
+
320
+ <div class="method-source-code"
321
+ id="signed_up-source">
322
+ <pre>
323
+ <span class="ruby-comment"># File lib/km/saas.rb, line 4</span>
324
+ def signed_up(plan=nil, props = {})
325
+ record <span class="ruby-string">'Signed Up'</span>, {<span class="ruby-string">'Plan Name'</span> =&gt; plan}.merge(props)
326
+ end</pre>
327
+ </div>
328
+
329
+ </div>
330
+
331
+
332
+ <div class="aliases">
333
+ Also aliased as: <a href="SaaS.html#method-i-signedup">signedup</a>
334
+ </div>
335
+
336
+
337
+
338
+ </div>
339
+
340
+
341
+ <div id="signedup-method" class="method-detail method-alias">
342
+ <a name="method-i-signedup"></a>
343
+
344
+
345
+ <div class="method-heading">
346
+ <span class="method-name">signedup</span><span
347
+ class="method-args">(plan=nil, props = {})</span>
348
+ <span class="method-click-advice">click to toggle source</span>
349
+ </div>
350
+
351
+
352
+ <div class="method-description">
353
+
354
+
355
+
356
+
357
+
358
+ </div>
359
+
360
+
361
+
362
+
363
+ <div class="aliases">
364
+ Alias for: <a href="SaaS.html#method-i-signed_up">signed_up</a>
365
+ </div>
366
+
367
+ </div>
368
+
369
+
370
+ <div id="upgraded-method" class="method-detail ">
371
+ <a name="method-i-upgraded"></a>
372
+
373
+
374
+ <div class="method-heading">
375
+ <span class="method-name">upgraded</span><span
376
+ class="method-args">(plan=nil, props = {})</span>
377
+ <span class="method-click-advice">click to toggle source</span>
378
+ </div>
379
+
380
+
381
+ <div class="method-description">
382
+
383
+
384
+
385
+
386
+
387
+ <div class="method-source-code"
388
+ id="upgraded-source">
389
+ <pre>
390
+ <span class="ruby-comment"># File lib/km/saas.rb, line 9</span>
391
+ def upgraded(plan=nil, props = {})
392
+ record <span class="ruby-string">'Upgraded'</span>, {<span class="ruby-string">'Plan Name'</span> =&gt; plan}.merge(props)
393
+ end</pre>
394
+ </div>
395
+
396
+ </div>
397
+
398
+
399
+
400
+
401
+ </div>
402
+
403
+
404
+ <div id="visited_site-method" class="method-detail ">
405
+ <a name="method-i-visited_site"></a>
406
+
407
+
408
+ <div class="method-heading">
409
+ <span class="method-name">visited_site</span><span
410
+ class="method-args">(url=nil, referrer=nil, props={})</span>
411
+ <span class="method-click-advice">click to toggle source</span>
412
+ </div>
413
+
414
+
415
+ <div class="method-description">
416
+
417
+
418
+
419
+
420
+
421
+ <div class="method-source-code"
422
+ id="visited_site-source">
423
+ <pre>
424
+ <span class="ruby-comment"># File lib/km/saas.rb, line 26</span>
425
+ def visited_site(url=nil, referrer=nil, props={})
426
+ record <span class="ruby-string">'Visited Site'</span>, {<span class="ruby-string">'URL'</span> =&gt; url, <span class="ruby-string">'Referrer'</span> =&gt; referrer}.merge(props)
427
+ end</pre>
428
+ </div>
429
+
430
+ </div>
431
+
432
+
433
+
434
+
435
+ </div>
436
+
437
+
438
+ </div>
439
+
440
+
441
+ </div>
442
+
443
+ <div id="validator-badges">
444
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
445
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
446
+ Rdoc Generator</a> 2</small>.</p>
447
+ </div>
448
+
449
+ </body>
450
+ </html>
451
+