badgeville_berlin 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: BadgevilleBerlin::Track
8
8
 
9
- &mdash; Documentation by YARD 0.7.1
9
+ &mdash; Documentation by YARD 0.8.2.1
10
10
 
11
11
  </title>
12
12
 
@@ -15,10 +15,12 @@
15
15
  <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
- relpath = '..';
19
- if (relpath != '') relpath += '/';
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../';
20
+ framesUrl = "../frames.html#!" + escape(window.location.href);
20
21
  </script>
21
22
 
23
+
22
24
  <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
25
 
24
26
  <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
@@ -26,36 +28,41 @@
26
28
 
27
29
  </head>
28
30
  <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
31
  <div id="header">
34
32
  <div id="menu">
35
33
 
36
- <a href="../_index.html">Index (T)</a> &raquo;
34
+ <a href="../_index.html">Index (T)</a> &raquo;
37
35
  <span class='title'><span class='object_link'><a href="../BadgevilleBerlin.html" title="BadgevilleBerlin (module)">BadgevilleBerlin</a></span></span>
38
36
  &raquo;
39
37
  <span class="title">Track</span>
40
38
 
41
-
39
+
42
40
  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
41
  </div>
44
42
 
45
43
  <div id="search">
46
44
 
47
- <a id="class_list_link" href="#">Class List</a>
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../class_list.html">
47
+ Class List
48
+ </a>
48
49
 
49
- <a id="method_list_link" href="#">Method List</a>
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../method_list.html">
52
+ Method List
53
+ </a>
50
54
 
51
- <a id="file_list_link" href="#">File List</a>
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../file_list.html">
57
+ File List
58
+ </a>
52
59
 
53
60
  </div>
54
61
  <div class="clear"></div>
55
62
  </div>
56
-
63
+
57
64
  <iframe id="search_frame"></iframe>
58
-
65
+
59
66
  <div id="content"><h1>Class: BadgevilleBerlin::Track
60
67
 
61
68
 
@@ -91,24 +98,26 @@
91
98
 
92
99
 
93
100
  <dt class="r2 last">Defined in:</dt>
94
- <dd class="r2 last">lib/badgeville-berlin/track.rb</dd>
101
+ <dd class="r2 last">lib/badgeville_berlin/track.rb</dd>
95
102
 
96
103
  </dl>
97
104
  <div class="clear"></div>
98
105
 
99
106
 
100
-
101
-
102
-
103
-
104
-
107
+ <h2>Constant Summary</h2>
105
108
 
106
109
 
107
110
 
111
+
112
+ <h2>Constant Summary</h2>
108
113
 
109
-
110
-
111
-
114
+ <h3 class="inherited">Constants inherited
115
+ from <span class='object_link'><a href="BaseResource.html" title="BadgevilleBerlin::BaseResource (class)">BaseResource</a></span></h3>
116
+ <p class="inherited"><span class='object_link'><a href="BaseResource.html#COMPLEX_ATTRIBUTES-constant" title="BadgevilleBerlin::BaseResource::COMPLEX_ATTRIBUTES (constant)">BaseResource::COMPLEX_ATTRIBUTES</a></span></p>
117
+
118
+
119
+
120
+
112
121
 
113
122
 
114
123
 
@@ -116,19 +125,26 @@
116
125
 
117
126
 
118
127
 
128
+
119
129
  <h2>Method Summary</h2>
120
130
 
121
131
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="BaseResource.html" title="BadgevilleBerlin::BaseResource (class)">BaseResource</a></span></h3>
122
- <p class="inherited"><span class='object_link'><a href="BaseResource.html#errors-instance_method" title="BadgevilleBerlin::BaseResource#errors (method)">#errors</a></span>, <span class='object_link'><a href="BaseResource.html#load_remote_errors-instance_method" title="BadgevilleBerlin::BaseResource#load_remote_errors (method)">#load_remote_errors</a></span>, <span class='object_link'><a href="BaseResource.html#primary_key-class_method" title="BadgevilleBerlin::BaseResource.primary_key (method)">primary_key</a></span></p>
132
+ <p class="inherited"><span class='object_link'><a href="BaseResource.html#customize_keys_for_request-instance_method" title="BadgevilleBerlin::BaseResource#customize_keys_for_request (method)">#customize_keys_for_request</a></span>, <span class='object_link'><a href="BaseResource.html#encode-instance_method" title="BadgevilleBerlin::BaseResource#encode (method)">#encode</a></span>, <span class='object_link'><a href="BaseResource.html#errors-instance_method" title="BadgevilleBerlin::BaseResource#errors (method)">#errors</a></span>, <span class='object_link'><a href="BaseResource.html#initialize-instance_method" title="BadgevilleBerlin::BaseResource#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="BaseResource.html#load-instance_method" title="BadgevilleBerlin::BaseResource#load (method)">#load</a></span>, <span class='object_link'><a href="BaseResource.html#load_remote_errors-instance_method" title="BadgevilleBerlin::BaseResource#load_remote_errors (method)">#load_remote_errors</a></span>, <span class='object_link'><a href="BaseResource.html#sanitize_request-instance_method" title="BadgevilleBerlin::BaseResource#sanitize_request (method)">#sanitize_request</a></span></p>
123
133
 
134
+ <div id="constructor_details" class="method_details_list">
135
+ <h2>Constructor Details</h2>
136
+
137
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="BaseResource.html#initialize-instance_method" title="BadgevilleBerlin::BaseResource#initialize (method)">BadgevilleBerlin::BaseResource</a></span></p>
124
138
 
139
+ </div>
140
+
125
141
 
126
142
  </div>
127
-
143
+
128
144
  <div id="footer">
129
- Generated on Tue Jan 24 14:21:13 2012 by
145
+ Generated on Wed Jan 8 10:43:04 2014 by
130
146
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
131
- 0.7.1 (ruby-1.9.2).
147
+ 0.8.2.1 (ruby-1.9.2).
132
148
  </div>
133
149
 
134
150
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: BadgevilleBerlin::User
8
8
 
9
- &mdash; Documentation by YARD 0.7.1
9
+ &mdash; Documentation by YARD 0.8.2.1
10
10
 
11
11
  </title>
12
12
 
@@ -15,10 +15,12 @@
15
15
  <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
- relpath = '..';
19
- if (relpath != '') relpath += '/';
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../';
20
+ framesUrl = "../frames.html#!" + escape(window.location.href);
20
21
  </script>
21
22
 
23
+
22
24
  <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
25
 
24
26
  <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
@@ -26,36 +28,41 @@
26
28
 
27
29
  </head>
28
30
  <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
31
  <div id="header">
34
32
  <div id="menu">
35
33
 
36
- <a href="../_index.html">Index (U)</a> &raquo;
34
+ <a href="../_index.html">Index (U)</a> &raquo;
37
35
  <span class='title'><span class='object_link'><a href="../BadgevilleBerlin.html" title="BadgevilleBerlin (module)">BadgevilleBerlin</a></span></span>
38
36
  &raquo;
39
37
  <span class="title">User</span>
40
38
 
41
-
39
+
42
40
  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
41
  </div>
44
42
 
45
43
  <div id="search">
46
44
 
47
- <a id="class_list_link" href="#">Class List</a>
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../class_list.html">
47
+ Class List
48
+ </a>
48
49
 
49
- <a id="method_list_link" href="#">Method List</a>
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../method_list.html">
52
+ Method List
53
+ </a>
50
54
 
51
- <a id="file_list_link" href="#">File List</a>
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../file_list.html">
57
+ File List
58
+ </a>
52
59
 
53
60
  </div>
54
61
  <div class="clear"></div>
55
62
  </div>
56
-
63
+
57
64
  <iframe id="search_frame"></iframe>
58
-
65
+
59
66
  <div id="content"><h1>Class: BadgevilleBerlin::User
60
67
 
61
68
 
@@ -91,24 +98,26 @@
91
98
 
92
99
 
93
100
  <dt class="r2 last">Defined in:</dt>
94
- <dd class="r2 last">lib/badgeville-berlin/user.rb</dd>
101
+ <dd class="r2 last">lib/badgeville_berlin/user.rb</dd>
95
102
 
96
103
  </dl>
97
104
  <div class="clear"></div>
98
105
 
99
106
 
100
-
101
-
102
-
103
-
104
-
107
+ <h2>Constant Summary</h2>
105
108
 
106
109
 
107
110
 
111
+
112
+ <h2>Constant Summary</h2>
108
113
 
109
-
110
-
111
-
114
+ <h3 class="inherited">Constants inherited
115
+ from <span class='object_link'><a href="BaseResource.html" title="BadgevilleBerlin::BaseResource (class)">BaseResource</a></span></h3>
116
+ <p class="inherited"><span class='object_link'><a href="BaseResource.html#COMPLEX_ATTRIBUTES-constant" title="BadgevilleBerlin::BaseResource::COMPLEX_ATTRIBUTES (constant)">BaseResource::COMPLEX_ATTRIBUTES</a></span></p>
117
+
118
+
119
+
120
+
112
121
 
113
122
 
114
123
 
@@ -116,19 +125,26 @@
116
125
 
117
126
 
118
127
 
128
+
119
129
  <h2>Method Summary</h2>
120
130
 
121
131
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="BaseResource.html" title="BadgevilleBerlin::BaseResource (class)">BaseResource</a></span></h3>
122
- <p class="inherited"><span class='object_link'><a href="BaseResource.html#errors-instance_method" title="BadgevilleBerlin::BaseResource#errors (method)">#errors</a></span>, <span class='object_link'><a href="BaseResource.html#load_remote_errors-instance_method" title="BadgevilleBerlin::BaseResource#load_remote_errors (method)">#load_remote_errors</a></span>, <span class='object_link'><a href="BaseResource.html#primary_key-class_method" title="BadgevilleBerlin::BaseResource.primary_key (method)">primary_key</a></span></p>
132
+ <p class="inherited"><span class='object_link'><a href="BaseResource.html#customize_keys_for_request-instance_method" title="BadgevilleBerlin::BaseResource#customize_keys_for_request (method)">#customize_keys_for_request</a></span>, <span class='object_link'><a href="BaseResource.html#encode-instance_method" title="BadgevilleBerlin::BaseResource#encode (method)">#encode</a></span>, <span class='object_link'><a href="BaseResource.html#errors-instance_method" title="BadgevilleBerlin::BaseResource#errors (method)">#errors</a></span>, <span class='object_link'><a href="BaseResource.html#initialize-instance_method" title="BadgevilleBerlin::BaseResource#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="BaseResource.html#load-instance_method" title="BadgevilleBerlin::BaseResource#load (method)">#load</a></span>, <span class='object_link'><a href="BaseResource.html#load_remote_errors-instance_method" title="BadgevilleBerlin::BaseResource#load_remote_errors (method)">#load_remote_errors</a></span>, <span class='object_link'><a href="BaseResource.html#sanitize_request-instance_method" title="BadgevilleBerlin::BaseResource#sanitize_request (method)">#sanitize_request</a></span></p>
123
133
 
134
+ <div id="constructor_details" class="method_details_list">
135
+ <h2>Constructor Details</h2>
136
+
137
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="BaseResource.html#initialize-instance_method" title="BadgevilleBerlin::BaseResource#initialize (method)">BadgevilleBerlin::BaseResource</a></span></p>
124
138
 
139
+ </div>
140
+
125
141
 
126
142
  </div>
127
-
143
+
128
144
  <div id="footer">
129
- Generated on Tue Jan 24 14:21:13 2012 by
145
+ Generated on Wed Jan 8 10:43:04 2014 by
130
146
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
131
- 0.7.1 (ruby-1.9.2).
147
+ 0.8.2.1 (ruby-1.9.2).
132
148
  </div>
133
149
 
134
150
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: BadgevilleBerlinJsonFormat
8
8
 
9
- &mdash; Documentation by YARD 0.7.1
9
+ &mdash; Documentation by YARD 0.8.2.1
10
10
 
11
11
  </title>
12
12
 
@@ -15,10 +15,12 @@
15
15
  <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
18
19
  relpath = '';
19
- if (relpath != '') relpath += '/';
20
+ framesUrl = "frames.html#!" + escape(window.location.href);
20
21
  </script>
21
22
 
23
+
22
24
  <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
23
25
 
24
26
  <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
@@ -26,36 +28,41 @@
26
28
 
27
29
  </head>
28
30
  <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
31
  <div id="header">
34
32
  <div id="menu">
35
33
 
36
- <a href="_index.html">Index (B)</a> &raquo;
34
+ <a href="_index.html">Index (B)</a> &raquo;
37
35
 
38
36
 
39
37
  <span class="title">BadgevilleBerlinJsonFormat</span>
40
38
 
41
-
39
+
42
40
  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
41
  </div>
44
42
 
45
43
  <div id="search">
46
44
 
47
- <a id="class_list_link" href="#">Class List</a>
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="class_list.html">
47
+ Class List
48
+ </a>
48
49
 
49
- <a id="method_list_link" href="#">Method List</a>
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="method_list.html">
52
+ Method List
53
+ </a>
50
54
 
51
- <a id="file_list_link" href="#">File List</a>
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="file_list.html">
57
+ File List
58
+ </a>
52
59
 
53
60
  </div>
54
61
  <div class="clear"></div>
55
62
  </div>
56
-
63
+
57
64
  <iframe id="search_frame"></iframe>
58
-
65
+
59
66
  <div id="content"><h1>Module: BadgevilleBerlinJsonFormat
60
67
 
61
68
 
@@ -80,7 +87,7 @@
80
87
 
81
88
 
82
89
  <dt class="r1 last">Defined in:</dt>
83
- <dd class="r1 last">lib/badgeville-berlin/formats/badgeville_berlin_json_format.rb</dd>
90
+ <dd class="r1 last">lib/badgeville_berlin/formats/badgeville_berlin_json_format.rb</dd>
84
91
 
85
92
  </dl>
86
93
  <div class="clear"></div>
@@ -97,11 +104,14 @@ ActiveResource standard, and is instead preceded by the root key :data.
97
104
  </div>
98
105
  <div class="tags">
99
106
 
107
+
100
108
  </div>
101
109
 
102
110
 
103
111
 
104
112
 
113
+
114
+
105
115
 
106
116
  <h2>
107
117
  Instance Method Summary
@@ -113,7 +123,7 @@ ActiveResource standard, and is instead preceded by the root key :data.
113
123
  <li class="public ">
114
124
  <span class="summary_signature">
115
125
 
116
- <a href="#decode-instance_method" title="#decode (instance method)">- (Object? BaseResource?) <strong>decode</strong>(json) </a>
126
+ <a href="#decode-instance_method" title="#decode (instance method)">- (Object) <strong>decode</strong>(json) </a>
117
127
 
118
128
 
119
129
 
@@ -124,6 +134,7 @@ ActiveResource standard, and is instead preceded by the root key :data.
124
134
 
125
135
 
126
136
 
137
+
127
138
 
128
139
 
129
140
  <span class="summary_desc"><div class='inline'><p>
@@ -149,6 +160,7 @@ Ruby object, whether or not it has a root key :data.
149
160
 
150
161
 
151
162
 
163
+
152
164
 
153
165
 
154
166
  <span class="summary_desc"><div class='inline'><p>
@@ -173,6 +185,7 @@ Identical to ActiveResource::Format::JsonFormat.encode.
173
185
 
174
186
 
175
187
 
188
+
176
189
 
177
190
 
178
191
  <span class="summary_desc"><div class='inline'><p>
@@ -198,6 +211,7 @@ URL for JSON endpoints.
198
211
 
199
212
 
200
213
 
214
+
201
215
 
202
216
 
203
217
  <span class="summary_desc"><div class='inline'><p>
@@ -215,16 +229,18 @@ Returns the mime_type.
215
229
 
216
230
  <div id="instance_method_details" class="method_details_list">
217
231
  <h2>Instance Method Details</h2>
218
-
232
+
219
233
 
220
234
  <div class="method_details first">
221
- <p class="signature first" id="decode-instance_method">
235
+ <h3 class="signature first" id="decode-instance_method">
236
+
237
+ - (<tt>Object</tt>) <strong>decode</strong>(json)
222
238
 
223
- - (<tt>Object? BaseResource?</tt>) <strong>decode</strong>(json)
239
+
224
240
 
225
241
 
226
242
 
227
- </p><div class="docstring">
243
+ </h3><div class="docstring">
228
244
  <div class="discussion">
229
245
  <p>
230
246
  Converts a serialized string representation of a remote resource into a
@@ -235,46 +251,7 @@ Ruby object, whether or not it has a root key :data.
235
251
  </div>
236
252
  </div>
237
253
  <div class="tags">
238
- <h3>Parameters:</h3>
239
- <ul class="param">
240
-
241
- <li>
242
-
243
- <span class='name'>the</span>
244
-
245
-
246
- <span class='type'>(<tt>String</tt>)</span>
247
-
248
-
249
-
250
- &mdash;
251
- <div class='inline'><p>
252
- serialized string representation of the resource.
253
- </p>
254
- </div>
255
-
256
- </li>
257
-
258
- </ul>
259
- <h3>Returns:</h3>
260
- <ul class="return">
261
-
262
- <li>
263
-
264
-
265
- <span class='type'>(<tt>Object? BaseResource?</tt>)</span>
266
-
267
-
268
-
269
- &mdash;
270
- <div class='inline'><p>
271
- returns an object representing a remote resource?
272
- </p>
273
- </div>
274
-
275
- </li>
276
254
 
277
- </ul>
278
255
 
279
256
  </div><table class="source_code">
280
257
  <tr>
@@ -282,15 +259,29 @@ returns an object representing a remote resource?
282
259
  <pre class="lines">
283
260
 
284
261
 
262
+ 39
263
+ 40
264
+ 41
265
+ 42
266
+ 43
285
267
  44
286
268
  45
287
- 46</pre>
269
+ 46
270
+ 47
271
+ 48</pre>
288
272
  </td>
289
273
  <td>
290
- <pre class="code"><span class="info file"># File 'lib/badgeville-berlin/formats/badgeville_berlin_json_format.rb', line 44</span>
291
-
292
- <span class='kw'>def</span> <span class='id decode'>decode</span><span class='lparen'>(</span><span class='id json'>json</span><span class='rparen'>)</span>
293
- <span class='const'>ActiveResource</span><span class='op'>::</span><span class='const'>Formats</span><span class='period'>.</span><span class='id remove_root'>remove_root</span><span class='lparen'>(</span><span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>JSON</span><span class='period'>.</span><span class='id decode'>decode</span><span class='lparen'>(</span><span class='id json'>json</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>data</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='const'>ActiveResource</span><span class='op'>::</span><span class='const'>Formats</span><span class='period'>.</span><span class='id remove_root'>remove_root</span><span class='lparen'>(</span><span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>JSON</span><span class='period'>.</span><span class='id decode'>decode</span><span class='lparen'>(</span><span class='id json'>json</span><span class='rparen'>)</span><span class='rparen'>)</span>
274
+ <pre class="code"><span class="info file"># File 'lib/badgeville_berlin/formats/badgeville_berlin_json_format.rb', line 39</span>
275
+
276
+ <span class='kw'>def</span> <span class='id identifier rubyid_decode'>decode</span><span class='lparen'>(</span><span class='id identifier rubyid_json'>json</span><span class='rparen'>)</span>
277
+ <span class='kw'>return</span> <span class='kw'>unless</span> <span class='id identifier rubyid_json'>json</span>
278
+ <span class='id identifier rubyid_json'>json</span> <span class='op'>=</span> <span class='const'>ActiveResource</span><span class='op'>::</span><span class='const'>Formats</span><span class='period'>.</span><span class='id identifier rubyid_remove_root'>remove_root</span><span class='lparen'>(</span><span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_decode'>decode</span><span class='lparen'>(</span><span class='id identifier rubyid_json'>json</span><span class='rparen'>)</span><span class='rparen'>)</span>
279
+ <span class='kw'>if</span> <span class='id identifier rubyid_json'>json</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span><span class='lparen'>(</span><span class='const'>Array</span><span class='rparen'>)</span>
280
+ <span class='id identifier rubyid_json'>json</span>
281
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_json'>json</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span><span class='lparen'>(</span><span class='const'>Hash</span><span class='rparen'>)</span>
282
+ <span class='id identifier rubyid_json'>json</span> <span class='op'>=</span> <span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>HashWithIndifferentAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_json'>json</span><span class='rparen'>)</span>
283
+ <span class='id identifier rubyid_json'>json</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>data</span><span class='tstring_end'>&quot;</span></span> <span class='op'>?</span> <span class='id identifier rubyid_json'>json</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>data</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span> <span class='op'>:</span> <span class='id identifier rubyid_json'>json</span>
284
+ <span class='kw'>end</span>
294
285
  <span class='kw'>end</span></pre>
295
286
  </td>
296
287
  </tr>
@@ -298,13 +289,15 @@ returns an object representing a remote resource?
298
289
  </div>
299
290
 
300
291
  <div class="method_details ">
301
- <p class="signature " id="encode-instance_method">
292
+ <h3 class="signature " id="encode-instance_method">
302
293
 
303
294
  - (<tt>String</tt>) <strong>encode</strong>(hash, options = nil)
304
295
 
305
296
 
306
297
 
307
- </p><div class="docstring">
298
+
299
+
300
+ </h3><div class="docstring">
308
301
  <div class="discussion">
309
302
  <p>
310
303
  Identical to ActiveResource::Format::JsonFormat.encode. Returns the
@@ -317,7 +310,7 @@ format.
317
310
  </div>
318
311
  </div>
319
312
  <div class="tags">
320
- <h3>Parameters:</h3>
313
+ <p class="tag_title">Parameters:</p>
321
314
  <ul class="param">
322
315
 
323
316
  <li>
@@ -358,7 +351,8 @@ options may be applicable depending on the format.
358
351
  </li>
359
352
 
360
353
  </ul>
361
- <h3>Returns:</h3>
354
+
355
+ <p class="tag_title">Returns:</p>
362
356
  <ul class="return">
363
357
 
364
358
  <li>
@@ -384,15 +378,15 @@ representation of the remote resource
384
378
  <pre class="lines">
385
379
 
386
380
 
387
- 35
388
- 36
389
- 37</pre>
381
+ 33
382
+ 34
383
+ 35</pre>
390
384
  </td>
391
385
  <td>
392
- <pre class="code"><span class="info file"># File 'lib/badgeville-berlin/formats/badgeville_berlin_json_format.rb', line 35</span>
386
+ <pre class="code"><span class="info file"># File 'lib/badgeville_berlin/formats/badgeville_berlin_json_format.rb', line 33</span>
393
387
 
394
- <span class='kw'>def</span> <span class='id encode'>encode</span><span class='lparen'>(</span><span class='id hash'>hash</span><span class='comma'>,</span> <span class='id options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
395
- <span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>JSON</span><span class='period'>.</span><span class='id encode'>encode</span><span class='lparen'>(</span><span class='id hash'>hash</span><span class='comma'>,</span> <span class='id options'>options</span><span class='rparen'>)</span>
388
+ <span class='kw'>def</span> <span class='id identifier rubyid_encode'>encode</span><span class='lparen'>(</span><span class='id identifier rubyid_hash'>hash</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
389
+ <span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>JSON</span><span class='period'>.</span><span class='id identifier rubyid_encode'>encode</span><span class='lparen'>(</span><span class='id identifier rubyid_hash'>hash</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
396
390
  <span class='kw'>end</span></pre>
397
391
  </td>
398
392
  </tr>
@@ -400,13 +394,15 @@ representation of the remote resource
400
394
  </div>
401
395
 
402
396
  <div class="method_details ">
403
- <p class="signature " id="extension-instance_method">
397
+ <h3 class="signature " id="extension-instance_method">
404
398
 
405
399
  - (<tt>String</tt>) <strong>extension</strong>
406
400
 
407
401
 
408
402
 
409
- </p><div class="docstring">
403
+
404
+
405
+ </h3><div class="docstring">
410
406
  <div class="discussion">
411
407
  <p>
412
408
  Returns the extension &#8216;json&#8217; to be added to the HTTP request
@@ -417,7 +413,8 @@ URL for JSON endpoints.
417
413
  </div>
418
414
  </div>
419
415
  <div class="tags">
420
- <h3>Returns:</h3>
416
+
417
+ <p class="tag_title">Returns:</p>
421
418
  <ul class="return">
422
419
 
423
420
  <li>
@@ -443,14 +440,14 @@ the URL extension &#8216;json&#8217;
443
440
  <pre class="lines">
444
441
 
445
442
 
446
- 16
447
- 17
448
- 18</pre>
443
+ 14
444
+ 15
445
+ 16</pre>
449
446
  </td>
450
447
  <td>
451
- <pre class="code"><span class="info file"># File 'lib/badgeville-berlin/formats/badgeville_berlin_json_format.rb', line 16</span>
448
+ <pre class="code"><span class="info file"># File 'lib/badgeville_berlin/formats/badgeville_berlin_json_format.rb', line 14</span>
452
449
 
453
- <span class='kw'>def</span> <span class='id extension'>extension</span>
450
+ <span class='kw'>def</span> <span class='id identifier rubyid_extension'>extension</span>
454
451
  <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>json</span><span class='tstring_end'>&quot;</span></span>
455
452
  <span class='kw'>end</span></pre>
456
453
  </td>
@@ -459,13 +456,15 @@ the URL extension &#8216;json&#8217;
459
456
  </div>
460
457
 
461
458
  <div class="method_details ">
462
- <p class="signature " id="mime_type-instance_method">
459
+ <h3 class="signature " id="mime_type-instance_method">
463
460
 
464
461
  - (<tt>String</tt>) <strong>mime_type</strong>
465
462
 
466
463
 
467
464
 
468
- </p><div class="docstring">
465
+
466
+
467
+ </h3><div class="docstring">
469
468
  <div class="discussion">
470
469
  <p>
471
470
  Returns the mime_type.
@@ -475,7 +474,8 @@ Returns the mime_type.
475
474
  </div>
476
475
  </div>
477
476
  <div class="tags">
478
- <h3>Returns:</h3>
477
+
478
+ <p class="tag_title">Returns:</p>
479
479
  <ul class="return">
480
480
 
481
481
  <li>
@@ -501,14 +501,14 @@ the MIME type for JSON
501
501
  <pre class="lines">
502
502
 
503
503
 
504
- 23
505
- 24
506
- 25</pre>
504
+ 21
505
+ 22
506
+ 23</pre>
507
507
  </td>
508
508
  <td>
509
- <pre class="code"><span class="info file"># File 'lib/badgeville-berlin/formats/badgeville_berlin_json_format.rb', line 23</span>
509
+ <pre class="code"><span class="info file"># File 'lib/badgeville_berlin/formats/badgeville_berlin_json_format.rb', line 21</span>
510
510
 
511
- <span class='kw'>def</span> <span class='id mime_type'>mime_type</span>
511
+ <span class='kw'>def</span> <span class='id identifier rubyid_mime_type'>mime_type</span>
512
512
  <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>application/json</span><span class='tstring_end'>&quot;</span></span>
513
513
  <span class='kw'>end</span></pre>
514
514
  </td>
@@ -519,11 +519,11 @@ the MIME type for JSON
519
519
  </div>
520
520
 
521
521
  </div>
522
-
522
+
523
523
  <div id="footer">
524
- Generated on Tue Jan 24 14:21:13 2012 by
524
+ Generated on Wed Jan 8 10:43:04 2014 by
525
525
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
526
- 0.7.1 (ruby-1.9.2).
526
+ 0.8.2.1 (ruby-1.9.2).
527
527
  </div>
528
528
 
529
529
  </body>