TaxCloud 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/.gitignore +8 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +79 -0
  4. data/README +93 -0
  5. data/config.ru +2 -0
  6. data/doc/Gemfile.html +143 -0
  7. data/doc/Helper.html +249 -0
  8. data/doc/Object.html +193 -0
  9. data/doc/README.html +245 -0
  10. data/doc/TaxCloud.html +244 -0
  11. data/doc/TaxCloud/Address.html +356 -0
  12. data/doc/TaxCloud/AuthorizedResponse.html +226 -0
  13. data/doc/TaxCloud/AuthorizedService.html +304 -0
  14. data/doc/TaxCloud/AuthorizedWithCaptureResponse.html +246 -0
  15. data/doc/TaxCloud/BaseService.html +243 -0
  16. data/doc/TaxCloud/CapturedResponse.html +226 -0
  17. data/doc/TaxCloud/CartItem.html +341 -0
  18. data/doc/TaxCloud/CartItemResponse.html +256 -0
  19. data/doc/TaxCloud/CartItemsResponse.html +286 -0
  20. data/doc/TaxCloud/GetTICsResponse.html +284 -0
  21. data/doc/TaxCloud/LookupResponse.html +259 -0
  22. data/doc/TaxCloud/LookupService.html +230 -0
  23. data/doc/TaxCloud/MessageType.html +205 -0
  24. data/doc/TaxCloud/ResponseBase.html +214 -0
  25. data/doc/TaxCloud/ResponseMessage.html +212 -0
  26. data/doc/TaxCloud/ResponseType.html +212 -0
  27. data/doc/TaxCloud/ReturnedResponse.html +226 -0
  28. data/doc/TaxCloud/ReturnedService.html +231 -0
  29. data/doc/TaxCloud/TIC.html +272 -0
  30. data/doc/TaxCloud/TICService.html +292 -0
  31. data/doc/TaxCloud/VerifyAddressResult.html +361 -0
  32. data/doc/TaxCloud/VerifyAddressService.html +236 -0
  33. data/doc/created.rid +33 -0
  34. data/doc/images/add.png +0 -0
  35. data/doc/images/brick.png +0 -0
  36. data/doc/images/brick_link.png +0 -0
  37. data/doc/images/bug.png +0 -0
  38. data/doc/images/bullet_black.png +0 -0
  39. data/doc/images/bullet_toggle_minus.png +0 -0
  40. data/doc/images/bullet_toggle_plus.png +0 -0
  41. data/doc/images/date.png +0 -0
  42. data/doc/images/delete.png +0 -0
  43. data/doc/images/find.png +0 -0
  44. data/doc/images/loadingAnimation.gif +0 -0
  45. data/doc/images/macFFBgHack.png +0 -0
  46. data/doc/images/package.png +0 -0
  47. data/doc/images/page_green.png +0 -0
  48. data/doc/images/page_white_text.png +0 -0
  49. data/doc/images/page_white_width.png +0 -0
  50. data/doc/images/plugin.png +0 -0
  51. data/doc/images/ruby.png +0 -0
  52. data/doc/images/tag_blue.png +0 -0
  53. data/doc/images/tag_green.png +0 -0
  54. data/doc/images/transparent.png +0 -0
  55. data/doc/images/wrench.png +0 -0
  56. data/doc/images/wrench_orange.png +0 -0
  57. data/doc/images/zoom.png +0 -0
  58. data/doc/index.html +130 -0
  59. data/doc/js/darkfish.js +153 -0
  60. data/doc/js/jquery.js +18 -0
  61. data/doc/js/navigation.js +142 -0
  62. data/doc/js/search.js +94 -0
  63. data/doc/js/search_index.js +1 -0
  64. data/doc/js/searcher.js +228 -0
  65. data/doc/rdoc.css +543 -0
  66. data/doc/table_of_contents.html +200 -0
  67. data/lib/address.rb +27 -0
  68. data/lib/cartitem.rb +28 -0
  69. data/lib/response/authorized_response.rb +15 -0
  70. data/lib/response/authorized_with_capture_response.rb +16 -0
  71. data/lib/response/captured_response.rb +15 -0
  72. data/lib/response/cart_item_response.rb +11 -0
  73. data/lib/response/cart_items_response.rb +22 -0
  74. data/lib/response/get_ti_cs_response.rb +18 -0
  75. data/lib/response/lookup_response.rb +24 -0
  76. data/lib/response/message_type.rb +12 -0
  77. data/lib/response/response_base.rb +10 -0
  78. data/lib/response/response_message.rb +9 -0
  79. data/lib/response/response_type.rb +9 -0
  80. data/lib/response/returned_response.rb +15 -0
  81. data/lib/response/verify_address_result.rb +21 -0
  82. data/lib/service/authorized_service.rb +40 -0
  83. data/lib/service/base_service.rb +13 -0
  84. data/lib/service/lookup_service.rb +20 -0
  85. data/lib/service/returned_service.rb +19 -0
  86. data/lib/service/tic_service.rb +26 -0
  87. data/lib/service/verify_address_service.rb +26 -0
  88. data/lib/tic.rb +14 -0
  89. data/spec/helper.rb +38 -0
  90. data/spec/service/authorized_service_spec.rb +66 -0
  91. data/spec/service/lookup_service_spec.rb +45 -0
  92. data/spec/service/returned_service_spec.rb +36 -0
  93. data/spec/service/tic_serivce_spec.rb +47 -0
  94. data/spec/service/verify_address_service_spec.rb +24 -0
  95. data/spec/spec_helper.rb +12 -0
  96. data/taxcloud.gemspec +18 -0
  97. metadata +117 -3
@@ -0,0 +1,286 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class TaxCloud::CartItemsResponse - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../index.html">Home</a>
28
+ <a href="../table_of_contents.html#classes">Classes</a>
29
+ <a href="../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/response/cart_items_response.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link"><a href="../Object.html">Object</a>
63
+
64
+ </nav>
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <nav id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+ <li><a href="#method-c-new">::new</a>
74
+
75
+ <li><a href="#method-i-get_taxes">#get_taxes</a>
76
+
77
+ </ul>
78
+ </nav>
79
+
80
+ </div>
81
+
82
+ <div id="project-metadata">
83
+ <nav id="fileindex-section" class="section project-section">
84
+ <h3 class="section-header">Pages</h3>
85
+
86
+ <ul>
87
+
88
+ <li class="file"><a href="../Gemfile.html">Gemfile</a>
89
+
90
+ <li class="file"><a href="../README.html">README</a>
91
+
92
+ </ul>
93
+ </nav>
94
+
95
+ <nav id="classindex-section" class="section project-section">
96
+ <h3 class="section-header">Class and Module Index</h3>
97
+
98
+ <ul class="link-list">
99
+
100
+ <li><a href="../TaxCloud.html">TaxCloud</a>
101
+
102
+ <li><a href="../TaxCloud.html">TaxCloud</a>
103
+
104
+ <li><a href="../TaxCloud/Address.html">TaxCloud::Address</a>
105
+
106
+ <li><a href="../TaxCloud/AuthorizedResponse.html">TaxCloud::AuthorizedResponse</a>
107
+
108
+ <li><a href="../TaxCloud/AuthorizedService.html">TaxCloud::AuthorizedService</a>
109
+
110
+ <li><a href="../TaxCloud/AuthorizedWithCaptureResponse.html">TaxCloud::AuthorizedWithCaptureResponse</a>
111
+
112
+ <li><a href="../TaxCloud/BaseService.html">TaxCloud::BaseService</a>
113
+
114
+ <li><a href="../TaxCloud/CapturedResponse.html">TaxCloud::CapturedResponse</a>
115
+
116
+ <li><a href="../TaxCloud/CartItem.html">TaxCloud::CartItem</a>
117
+
118
+ <li><a href="../TaxCloud/CartItemResponse.html">TaxCloud::CartItemResponse</a>
119
+
120
+ <li><a href="../TaxCloud/CartItemsResponse.html">TaxCloud::CartItemsResponse</a>
121
+
122
+ <li><a href="../TaxCloud/GetTICsResponse.html">TaxCloud::GetTICsResponse</a>
123
+
124
+ <li><a href="../TaxCloud/LookupResponse.html">TaxCloud::LookupResponse</a>
125
+
126
+ <li><a href="../TaxCloud/LookupService.html">TaxCloud::LookupService</a>
127
+
128
+ <li><a href="../TaxCloud/MessageType.html">TaxCloud::MessageType</a>
129
+
130
+ <li><a href="../TaxCloud/ResponseBase.html">TaxCloud::ResponseBase</a>
131
+
132
+ <li><a href="../TaxCloud/ResponseMessage.html">TaxCloud::ResponseMessage</a>
133
+
134
+ <li><a href="../TaxCloud/ResponseType.html">TaxCloud::ResponseType</a>
135
+
136
+ <li><a href="../TaxCloud/ReturnedResponse.html">TaxCloud::ReturnedResponse</a>
137
+
138
+ <li><a href="../TaxCloud/ReturnedService.html">TaxCloud::ReturnedService</a>
139
+
140
+ <li><a href="../TaxCloud/TIC.html">TaxCloud::TIC</a>
141
+
142
+ <li><a href="../TaxCloud/TICService.html">TaxCloud::TICService</a>
143
+
144
+ <li><a href="../TaxCloud/VerifyAddressResult.html">TaxCloud::VerifyAddressResult</a>
145
+
146
+ <li><a href="../TaxCloud/VerifyAddressService.html">TaxCloud::VerifyAddressService</a>
147
+
148
+ <li><a href="../Helper.html">Helper</a>
149
+
150
+ <li><a href="../Object.html">Object</a>
151
+
152
+ </ul>
153
+ </nav>
154
+
155
+ </div>
156
+ </nav>
157
+
158
+ <div id="documentation">
159
+ <h1 class="class">class TaxCloud::CartItemsResponse</h1>
160
+
161
+ <div id="description" class="description">
162
+
163
+ </div><!-- description -->
164
+
165
+
166
+
167
+
168
+ <section id="5Buntitled-5D" class="documentation-section">
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+ <!-- Attributes -->
177
+ <section id="attribute-method-details" class="method-section section">
178
+ <h3 class="section-header">Attributes</h3>
179
+
180
+
181
+ <div id="attribute-i-cart_item_response" class="method-detail">
182
+ <div class="method-heading attribute-method-heading">
183
+ <span class="method-name">cart_item_response</span><span
184
+ class="attribute-access-type">[RW]</span>
185
+ </div>
186
+
187
+ <div class="method-description">
188
+
189
+
190
+
191
+ </div>
192
+ </div>
193
+
194
+ </section><!-- attribute-method-details -->
195
+
196
+
197
+ <!-- Methods -->
198
+
199
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
200
+ <h3 class="section-header">Public Class Methods</h3>
201
+
202
+
203
+ <div id="method-c-new" class="method-detail ">
204
+
205
+ <div class="method-heading">
206
+ <span class="method-name">new</span><span
207
+ class="method-args">(attrs = {})</span>
208
+ <span class="method-click-advice">click to toggle source</span>
209
+ </div>
210
+
211
+
212
+ <div class="method-description">
213
+
214
+
215
+
216
+
217
+
218
+ <div class="method-source-code" id="new-source">
219
+ <pre><span class="ruby-comment"># File lib/response/cart_items_response.rb, line 6</span>
220
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">attrs</span> = {})
221
+ <span class="ruby-ivar">@cart_item_response</span> = <span class="ruby-identifier">attrs</span>[<span class="ruby-value">:cart_item_response</span>]
222
+ <span class="ruby-keyword">end</span></pre>
223
+ </div><!-- new-source -->
224
+
225
+ </div>
226
+
227
+
228
+
229
+
230
+ </div><!-- new-method -->
231
+
232
+
233
+ </section><!-- public-class-method-details -->
234
+
235
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
236
+ <h3 class="section-header">Public Instance Methods</h3>
237
+
238
+
239
+ <div id="method-i-get_taxes" class="method-detail ">
240
+
241
+ <div class="method-heading">
242
+ <span class="method-name">get_taxes</span><span
243
+ class="method-args">(cart_item_index)</span>
244
+ <span class="method-click-advice">click to toggle source</span>
245
+ </div>
246
+
247
+
248
+ <div class="method-description">
249
+
250
+
251
+
252
+
253
+
254
+ <div class="method-source-code" id="get_taxes-source">
255
+ <pre><span class="ruby-comment"># File lib/response/cart_items_response.rb, line 10</span>
256
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_taxes</span>(<span class="ruby-identifier">cart_item_index</span>)
257
+ <span class="ruby-comment"># the response may or may not be an array</span>
258
+ <span class="ruby-keyword">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">cart_item_response</span>[<span class="ruby-identifier">cart_item_index</span>].<span class="ruby-identifier">nil?</span>
259
+ <span class="ruby-identifier">taxes</span> = <span class="ruby-identifier">cart_item_response</span>[<span class="ruby-identifier">cart_item_index</span>][<span class="ruby-value">:tax_amount</span>]
260
+ <span class="ruby-keyword">else</span>
261
+ <span class="ruby-identifier">taxes</span> = <span class="ruby-identifier">cart_item_response</span>[<span class="ruby-value">:tax_amount</span>]
262
+ <span class="ruby-keyword">end</span>
263
+ <span class="ruby-keyword">end</span></pre>
264
+ </div><!-- get_taxes-source -->
265
+
266
+ </div>
267
+
268
+
269
+
270
+
271
+ </div><!-- get_taxes-method -->
272
+
273
+
274
+ </section><!-- public-instance-method-details -->
275
+
276
+ </section><!-- 5Buntitled-5D -->
277
+
278
+ </div><!-- documentation -->
279
+
280
+
281
+ <footer id="validator-badges">
282
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
283
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
284
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
285
+ </footer>
286
+
@@ -0,0 +1,284 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>class TaxCloud::GetTICsResponse - RDoc Documentation</title>
8
+
9
+ <link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "../";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="class">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="../index.html">Home</a>
28
+ <a href="../table_of_contents.html#classes">Classes</a>
29
+ <a href="../table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/response/get_ti_cs_response.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+ <nav id="parent-class-section" class="section">
60
+ <h3 class="section-header">Parent</h3>
61
+
62
+ <p class="link">ResponseBase
63
+
64
+ </nav>
65
+
66
+
67
+ <!-- Method Quickref -->
68
+ <nav id="method-list-section" class="section">
69
+ <h3 class="section-header">Methods</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+ <li><a href="#method-c-new">::new</a>
74
+
75
+ <li><a href="#method-i-get_tic">#get_tic</a>
76
+
77
+ </ul>
78
+ </nav>
79
+
80
+ </div>
81
+
82
+ <div id="project-metadata">
83
+ <nav id="fileindex-section" class="section project-section">
84
+ <h3 class="section-header">Pages</h3>
85
+
86
+ <ul>
87
+
88
+ <li class="file"><a href="../Gemfile.html">Gemfile</a>
89
+
90
+ <li class="file"><a href="../README.html">README</a>
91
+
92
+ </ul>
93
+ </nav>
94
+
95
+ <nav id="classindex-section" class="section project-section">
96
+ <h3 class="section-header">Class and Module Index</h3>
97
+
98
+ <ul class="link-list">
99
+
100
+ <li><a href="../TaxCloud.html">TaxCloud</a>
101
+
102
+ <li><a href="../TaxCloud.html">TaxCloud</a>
103
+
104
+ <li><a href="../TaxCloud/Address.html">TaxCloud::Address</a>
105
+
106
+ <li><a href="../TaxCloud/AuthorizedResponse.html">TaxCloud::AuthorizedResponse</a>
107
+
108
+ <li><a href="../TaxCloud/AuthorizedService.html">TaxCloud::AuthorizedService</a>
109
+
110
+ <li><a href="../TaxCloud/AuthorizedWithCaptureResponse.html">TaxCloud::AuthorizedWithCaptureResponse</a>
111
+
112
+ <li><a href="../TaxCloud/BaseService.html">TaxCloud::BaseService</a>
113
+
114
+ <li><a href="../TaxCloud/CapturedResponse.html">TaxCloud::CapturedResponse</a>
115
+
116
+ <li><a href="../TaxCloud/CartItem.html">TaxCloud::CartItem</a>
117
+
118
+ <li><a href="../TaxCloud/CartItemResponse.html">TaxCloud::CartItemResponse</a>
119
+
120
+ <li><a href="../TaxCloud/CartItemsResponse.html">TaxCloud::CartItemsResponse</a>
121
+
122
+ <li><a href="../TaxCloud/GetTICsResponse.html">TaxCloud::GetTICsResponse</a>
123
+
124
+ <li><a href="../TaxCloud/LookupResponse.html">TaxCloud::LookupResponse</a>
125
+
126
+ <li><a href="../TaxCloud/LookupService.html">TaxCloud::LookupService</a>
127
+
128
+ <li><a href="../TaxCloud/MessageType.html">TaxCloud::MessageType</a>
129
+
130
+ <li><a href="../TaxCloud/ResponseBase.html">TaxCloud::ResponseBase</a>
131
+
132
+ <li><a href="../TaxCloud/ResponseMessage.html">TaxCloud::ResponseMessage</a>
133
+
134
+ <li><a href="../TaxCloud/ResponseType.html">TaxCloud::ResponseType</a>
135
+
136
+ <li><a href="../TaxCloud/ReturnedResponse.html">TaxCloud::ReturnedResponse</a>
137
+
138
+ <li><a href="../TaxCloud/ReturnedService.html">TaxCloud::ReturnedService</a>
139
+
140
+ <li><a href="../TaxCloud/TIC.html">TaxCloud::TIC</a>
141
+
142
+ <li><a href="../TaxCloud/TICService.html">TaxCloud::TICService</a>
143
+
144
+ <li><a href="../TaxCloud/VerifyAddressResult.html">TaxCloud::VerifyAddressResult</a>
145
+
146
+ <li><a href="../TaxCloud/VerifyAddressService.html">TaxCloud::VerifyAddressService</a>
147
+
148
+ <li><a href="../Helper.html">Helper</a>
149
+
150
+ <li><a href="../Object.html">Object</a>
151
+
152
+ </ul>
153
+ </nav>
154
+
155
+ </div>
156
+ </nav>
157
+
158
+ <div id="documentation">
159
+ <h1 class="class">class TaxCloud::GetTICsResponse</h1>
160
+
161
+ <div id="description" class="description">
162
+
163
+ </div><!-- description -->
164
+
165
+
166
+
167
+
168
+ <section id="5Buntitled-5D" class="documentation-section">
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+ <!-- Attributes -->
177
+ <section id="attribute-method-details" class="method-section section">
178
+ <h3 class="section-header">Attributes</h3>
179
+
180
+
181
+ <div id="attribute-i-ti_cs" class="method-detail">
182
+ <div class="method-heading attribute-method-heading">
183
+ <span class="method-name">ti_cs</span><span
184
+ class="attribute-access-type">[RW]</span>
185
+ </div>
186
+
187
+ <div class="method-description">
188
+
189
+
190
+
191
+ </div>
192
+ </div>
193
+
194
+ </section><!-- attribute-method-details -->
195
+
196
+
197
+ <!-- Methods -->
198
+
199
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
200
+ <h3 class="section-header">Public Class Methods</h3>
201
+
202
+
203
+ <div id="method-c-new" class="method-detail ">
204
+
205
+ <div class="method-heading">
206
+ <span class="method-name">new</span><span
207
+ class="method-args">(attrs = {})</span>
208
+ <span class="method-click-advice">click to toggle source</span>
209
+ </div>
210
+
211
+
212
+ <div class="method-description">
213
+
214
+
215
+
216
+
217
+
218
+ <div class="method-source-code" id="new-source">
219
+ <pre><span class="ruby-comment"># File lib/response/get_ti_cs_response.rb, line 7</span>
220
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">attrs</span> = {})
221
+ <span class="ruby-identifier">attrs</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">sym</span>, <span class="ruby-identifier">val</span><span class="ruby-operator">|</span>
222
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">send</span> <span class="ruby-node">&quot;#{sym}=&quot;</span>, <span class="ruby-identifier">val</span>
223
+ <span class="ruby-keyword">end</span>
224
+ <span class="ruby-keyword">super</span>
225
+ <span class="ruby-keyword">end</span></pre>
226
+ </div><!-- new-source -->
227
+
228
+ </div>
229
+
230
+
231
+
232
+
233
+ </div><!-- new-method -->
234
+
235
+
236
+ </section><!-- public-class-method-details -->
237
+
238
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
239
+ <h3 class="section-header">Public Instance Methods</h3>
240
+
241
+
242
+ <div id="method-i-get_tic" class="method-detail ">
243
+
244
+ <div class="method-heading">
245
+ <span class="method-name">get_tic</span><span
246
+ class="method-args">(index)</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 class="method-source-code" id="get_tic-source">
258
+ <pre><span class="ruby-comment"># File lib/response/get_ti_cs_response.rb, line 14</span>
259
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_tic</span>(<span class="ruby-identifier">index</span>)
260
+ <span class="ruby-identifier">tic</span> = <span class="ruby-constant">TaxCloud</span><span class="ruby-operator">::</span><span class="ruby-constant">TIC</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">ti_cs</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">first</span>)
261
+ <span class="ruby-keyword">end</span></pre>
262
+ </div><!-- get_tic-source -->
263
+
264
+ </div>
265
+
266
+
267
+
268
+
269
+ </div><!-- get_tic-method -->
270
+
271
+
272
+ </section><!-- public-instance-method-details -->
273
+
274
+ </section><!-- 5Buntitled-5D -->
275
+
276
+ </div><!-- documentation -->
277
+
278
+
279
+ <footer id="validator-badges">
280
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
281
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
282
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
283
+ </footer>
284
+