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::Leaderboard
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 (L)</a> &raquo;
34
+ <a href="../_index.html">Index (L)</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">Leaderboard</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::Leaderboard
60
67
 
61
68
 
@@ -91,26 +98,32 @@
91
98
 
92
99
 
93
100
  <dt class="r2 last">Defined in:</dt>
94
- <dd class="r2 last">lib/badgeville-berlin/leaderboard.rb</dd>
101
+ <dd class="r2 last">lib/badgeville_berlin/leaderboard.rb</dd>
95
102
 
96
103
  </dl>
97
104
  <div class="clear"></div>
98
105
 
99
106
 
100
-
101
-
102
-
103
-
107
+ <h2>Constant Summary</h2>
104
108
 
109
+ <dl class="constants">
110
+
111
+ <dt id="COMPLEX_ATTRIBUTES-constant" class="">COMPLEX_ATTRIBUTES =
112
+
113
+ </dt>
114
+ <dd><pre class="code"><span class='lbracket'>[</span><span class='symbol'>:selector</span><span class='rbracket'>]</span></pre></dd>
115
+
116
+ </dl>
105
117
 
106
118
 
107
119
 
108
-
109
-
110
-
111
-
112
120
 
113
121
 
122
+
123
+
124
+
125
+
126
+
114
127
 
115
128
 
116
129
 
@@ -119,16 +132,22 @@
119
132
  <h2>Method Summary</h2>
120
133
 
121
134
  <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>
135
+ <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
136
 
137
+ <div id="constructor_details" class="method_details_list">
138
+ <h2>Constructor Details</h2>
124
139
 
140
+ <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>
141
+
142
+ </div>
143
+
125
144
 
126
145
  </div>
127
-
146
+
128
147
  <div id="footer">
129
- Generated on Tue Jan 24 14:21:13 2012 by
148
+ Generated on Wed Jan 8 10:43:04 2014 by
130
149
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
131
- 0.7.1 (ruby-1.9.2).
150
+ 0.8.2.1 (ruby-1.9.2).
132
151
  </div>
133
152
 
134
153
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: BadgevilleBerlin::Player
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 (P)</a> &raquo;
34
+ <a href="../_index.html">Index (P)</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">Player</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::Player
60
67
 
61
68
 
@@ -91,24 +98,49 @@
91
98
 
92
99
 
93
100
  <dt class="r2 last">Defined in:</dt>
94
- <dd class="r2 last">lib/badgeville-berlin/player.rb</dd>
101
+ <dd class="r2 last">lib/badgeville_berlin/player.rb</dd>
95
102
 
96
103
  </dl>
97
104
  <div class="clear"></div>
98
105
 
99
106
 
100
-
101
-
102
-
107
+ <h2>Constant Summary</h2>
103
108
 
109
+ <dl class="constants">
110
+
111
+ <dt id="COMPLEX_ATTRIBUTES-constant" class="">COMPLEX_ATTRIBUTES =
112
+
113
+ </dt>
114
+ <dd><pre class="code"><span class='lbracket'>[</span><span class='symbol'>:custom</span><span class='comma'>,</span> <span class='symbol'>:preferences</span><span class='rbracket'>]</span></pre></dd>
115
+
116
+ <dt id="CUSTOM_REQUEST_KEYS-constant" class="">CUSTOM_REQUEST_KEYS =
117
+ <div class="docstring">
118
+ <div class="discussion">
119
+ <p>
120
+ Enables revising Berlin JSON response key names to match what is expected
121
+ by model-level logic. (e.g. Berlin JSON payload returns the player&#8217;s
122
+ nickname under the key :nick_name, but the Player model expects it as
123
+ :nickname without the underscore.)
124
+ </p>
125
+
126
+
127
+ </div>
128
+ </div>
129
+ <div class="tags">
104
130
 
131
+
132
+ </div>
133
+ </dt>
134
+ <dd><pre class="code"><span class='lbrace'>{</span><span class='symbol'>:nick_name</span> <span class='op'>=&gt;</span> <span class='symbol'>:nickname</span><span class='comma'>,</span> <span class='symbol'>:teams</span> <span class='op'>=&gt;</span> <span class='symbol'>:team_ids</span><span class='rbrace'>}</span></pre></dd>
135
+
136
+ </dl>
105
137
 
106
138
 
107
139
 
108
-
109
-
110
-
111
-
140
+
141
+
142
+
143
+
112
144
 
113
145
 
114
146
 
@@ -116,19 +148,26 @@
116
148
 
117
149
 
118
150
 
151
+
119
152
  <h2>Method Summary</h2>
120
153
 
121
154
  <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>
155
+ <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
156
 
157
+ <div id="constructor_details" class="method_details_list">
158
+ <h2>Constructor Details</h2>
159
+
160
+ <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
161
 
162
+ </div>
163
+
125
164
 
126
165
  </div>
127
-
166
+
128
167
  <div id="footer">
129
- Generated on Tue Jan 24 14:21:13 2012 by
168
+ Generated on Wed Jan 8 10:43:04 2014 by
130
169
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
131
- 0.7.1 (ruby-1.9.2).
170
+ 0.8.2.1 (ruby-1.9.2).
132
171
  </div>
133
172
 
134
173
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: BadgevilleBerlin::Reward
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 (R)</a> &raquo;
34
+ <a href="../_index.html">Index (R)</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">Reward</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::Reward
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/reward.rb</dd>
101
+ <dd class="r2 last">lib/badgeville_berlin/reward.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>