IVLE 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. data/.gitignore +4 -0
  2. data/Gemfile +4 -0
  3. data/IVLE.gemspec +29 -0
  4. data/LICENSE +7 -0
  5. data/README.md +61 -0
  6. data/Rakefile +1 -0
  7. data/config/settings.yml +2 -0
  8. data/doc/Fixtures.html +167 -0
  9. data/doc/Fixtures/IVLE.html +213 -0
  10. data/doc/Gemfile.html +133 -0
  11. data/doc/IVLE.html +278 -0
  12. data/doc/IVLE/API.html +424 -0
  13. data/doc/IVLE/Announcement.html +309 -0
  14. data/doc/IVLE/Community.html +1305 -0
  15. data/doc/IVLE/Consultation.html +342 -0
  16. data/doc/IVLE/DeltaDatasets.html +213 -0
  17. data/doc/IVLE/Forum.html +533 -0
  18. data/doc/IVLE/Gradebook.html +213 -0
  19. data/doc/IVLE/IVLEModule.html +567 -0
  20. data/doc/IVLE/IVLENews.html +213 -0
  21. data/doc/IVLE/LibraryEReserves.html +245 -0
  22. data/doc/IVLE/Login.html +309 -0
  23. data/doc/IVLE/MyOrganizer.html +520 -0
  24. data/doc/IVLE/OpenWebcastLectures.html +247 -0
  25. data/doc/IVLE/Poll.html +309 -0
  26. data/doc/IVLE/Profile.html +213 -0
  27. data/doc/IVLE/RostersAndGroups.html +676 -0
  28. data/doc/IVLE/StudentEvents.html +378 -0
  29. data/doc/IVLE/Timetable.html +309 -0
  30. data/doc/IVLE/Webcast.html +247 -0
  31. data/doc/IVLE/Workbin.html +245 -0
  32. data/doc/Object.html +185 -0
  33. data/doc/Rakefile.html +131 -0
  34. data/doc/created.rid +26 -0
  35. data/doc/images/add.png +0 -0
  36. data/doc/images/brick.png +0 -0
  37. data/doc/images/brick_link.png +0 -0
  38. data/doc/images/bug.png +0 -0
  39. data/doc/images/bullet_black.png +0 -0
  40. data/doc/images/bullet_toggle_minus.png +0 -0
  41. data/doc/images/bullet_toggle_plus.png +0 -0
  42. data/doc/images/date.png +0 -0
  43. data/doc/images/delete.png +0 -0
  44. data/doc/images/find.png +0 -0
  45. data/doc/images/loadingAnimation.gif +0 -0
  46. data/doc/images/macFFBgHack.png +0 -0
  47. data/doc/images/package.png +0 -0
  48. data/doc/images/page_green.png +0 -0
  49. data/doc/images/page_white_text.png +0 -0
  50. data/doc/images/page_white_width.png +0 -0
  51. data/doc/images/plugin.png +0 -0
  52. data/doc/images/ruby.png +0 -0
  53. data/doc/images/tag_blue.png +0 -0
  54. data/doc/images/tag_green.png +0 -0
  55. data/doc/images/transparent.png +0 -0
  56. data/doc/images/wrench.png +0 -0
  57. data/doc/images/wrench_orange.png +0 -0
  58. data/doc/images/zoom.png +0 -0
  59. data/doc/index.html +126 -0
  60. data/doc/js/darkfish.js +155 -0
  61. data/doc/js/jquery.js +18 -0
  62. data/doc/js/navigation.js +142 -0
  63. data/doc/js/search.js +94 -0
  64. data/doc/js/search_index.js +1 -0
  65. data/doc/js/searcher.js +228 -0
  66. data/doc/rdoc.css +543 -0
  67. data/doc/table_of_contents.html +379 -0
  68. data/lib/IVLE.rb +133 -0
  69. data/lib/IVLE/api/announcement.rb +19 -0
  70. data/lib/IVLE/api/community.rb +174 -0
  71. data/lib/IVLE/api/consultation.rb +24 -0
  72. data/lib/IVLE/api/delta_datasets.rb +7 -0
  73. data/lib/IVLE/api/forum.rb +47 -0
  74. data/lib/IVLE/api/gradebook.rb +7 -0
  75. data/lib/IVLE/api/ivle_news.rb +7 -0
  76. data/lib/IVLE/api/library_ereserves.rb +11 -0
  77. data/lib/IVLE/api/login.rb +19 -0
  78. data/lib/IVLE/api/module.rb +53 -0
  79. data/lib/IVLE/api/my_organizer.rb +62 -0
  80. data/lib/IVLE/api/open_webcast_lectures.rb +13 -0
  81. data/lib/IVLE/api/poll.rb +19 -0
  82. data/lib/IVLE/api/profile.rb +7 -0
  83. data/lib/IVLE/api/rosters_and_groups.rb +78 -0
  84. data/lib/IVLE/api/student_events.rb +32 -0
  85. data/lib/IVLE/api/timetable.rb +19 -0
  86. data/lib/IVLE/api/webcast.rb +13 -0
  87. data/lib/IVLE/api/workbin.rb +11 -0
  88. data/lib/IVLE/version.rb +3 -0
  89. data/spec/api/api_spec.rb +34 -0
  90. data/spec/fixtures/api/login.html +11 -0
  91. data/spec/fixtures/api/modules.json +201 -0
  92. data/spec/fixtures/ivle.rb +7 -0
  93. data/spec/fixtures/modules.json +201 -0
  94. metadata +216 -0
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in IVLE.gemspec
4
+ gemspec
@@ -0,0 +1,29 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "IVLE/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "IVLE"
7
+ s.version = IVLE::VERSION
8
+ s.authors = ["Ng Guoyou"]
9
+ s.email = ["fauxface+github@gmail.com"]
10
+ s.homepage = "https://github.com/Fauxface/ivle"
11
+ s.summary = %q{Basic Ruby gem wrapper for NUS IVLE LAPI interface.}
12
+ s.description = %q{Basic Ruby gem wrapper for NUS IVLE LAPI interface. All methods are implemented (but not tested).}
13
+
14
+ s.rubyforge_project = "IVLE"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+
21
+ s.add_dependency "faraday"
22
+ s.add_dependency "faraday_middleware"
23
+ s.add_dependency "mechanize"
24
+ s.add_dependency "nokogiri"
25
+
26
+ s.add_development_dependency "rspec"
27
+ s.add_development_dependency "debugger"
28
+ s.add_development_dependency "fakeweb"
29
+ end
data/LICENSE ADDED
@@ -0,0 +1,7 @@
1
+ Copyright (C) 2013 Ng Guoyou
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,61 @@
1
+ # IVLE
2
+ #### version 0.0.1 β
3
+ Basic Ruby gem wrapper for NUS IVLE LAPI interface. All methods are implemented (but not tested).
4
+
5
+ * [IVLE LAPI documentation](http://wiki.nus.edu.sg/display/ivlelapi/Home)
6
+ * A skeleton gem documentation is available in `doc`.
7
+
8
+ This gem is in beta and is not guaranteed to work 100%. If you encounter problems, submit an issue (preferably with the bugfix) and I'll get on it.
9
+
10
+ ## Installation
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ gem 'ivle'
15
+
16
+ And then execute:
17
+
18
+ $ bundle
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install ivle
23
+
24
+ ## Usage
25
+
26
+ ivle = IVLE::API.new('api_key', 'access_token')
27
+ => #<IVLE::API:0x41e5a98 @api_key="api_key", @access_token="access_token">
28
+
29
+ # Or, pass in the username and password and retrieve the token via Mechanize
30
+
31
+ ivle = IVLE::API.new('api_key', 'username', 'password')
32
+ => #<IVLE::API:0x4112d00 @api_key="api_key", @username="username", @password="password">
33
+
34
+ ivle.modules
35
+ => {:Results=>[{:Announcements=>[], :Forums=>[], :Workbins=>[], :Webcasts=>[], ... }
36
+
37
+ ivle.profile_view
38
+ => {:Results=>[{:UserID=>"My user ID", :Name=>"My Name", ...}
39
+
40
+ ivle.module_weblinks '4215f7f9-794d-4045-8d2d-0f8d2db2444f'
41
+ => {"Results":[{"ID":"4215f7f9-794d-4045-8d2d-0f8d2db2444f","URL":"http://byob.berkeley.edu/", ... }
42
+
43
+ ### API Key
44
+ Log in to IVLE, then access this URL: [http://ivle.nus.edu.sg/LAPI/default.aspx](http://ivle.nus.edu.sg/LAPI/default.aspx)
45
+
46
+ ## Contributing
47
+
48
+ 1. Fork it
49
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
50
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
51
+ 4. Push to the branch (`git push origin my-new-feature`)
52
+ 5. Create new Pull Request
53
+
54
+ ### TODO
55
+ * Use proper oAuth authentication
56
+ * More specs
57
+
58
+ ### Tests
59
+ There is a simple RSpec in `spec`.
60
+
61
+ To run it: `bundle exec rspec spec/api/api_spec.rb`
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,2 @@
1
+ :verify_ssl: false
2
+ :faraday_log: false
@@ -0,0 +1,167 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=IBM437" http-equiv="Content-Type">
6
+
7
+ <title>module Fixtures - 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="module">
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>spec/fixtures/ivle.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+
60
+
61
+
62
+ </div>
63
+
64
+ <div id="project-metadata">
65
+ <nav id="fileindex-section" class="section project-section">
66
+ <h3 class="section-header">Pages</h3>
67
+
68
+ <ul>
69
+
70
+ <li class="file"><a href="./Gemfile.html">Gemfile</a>
71
+
72
+ <li class="file"><a href="./Rakefile.html">Rakefile</a>
73
+
74
+ </ul>
75
+ </nav>
76
+
77
+ <nav id="classindex-section" class="section project-section">
78
+ <h3 class="section-header">Class and Module Index</h3>
79
+
80
+ <ul class="link-list">
81
+
82
+ <li><a href="./IVLE.html">IVLE</a>
83
+
84
+ <li><a href="./IVLE/API.html">IVLE::API</a>
85
+
86
+ <li><a href="./IVLE/Announcement.html">IVLE::Announcement</a>
87
+
88
+ <li><a href="./IVLE/Community.html">IVLE::Community</a>
89
+
90
+ <li><a href="./IVLE/Consultation.html">IVLE::Consultation</a>
91
+
92
+ <li><a href="./IVLE/DeltaDatasets.html">IVLE::DeltaDatasets</a>
93
+
94
+ <li><a href="./IVLE/Forum.html">IVLE::Forum</a>
95
+
96
+ <li><a href="./IVLE/Gradebook.html">IVLE::Gradebook</a>
97
+
98
+ <li><a href="./IVLE/IVLEModule.html">IVLE::IVLEModule</a>
99
+
100
+ <li><a href="./IVLE/IVLENews.html">IVLE::IVLENews</a>
101
+
102
+ <li><a href="./IVLE/LibraryEReserves.html">IVLE::LibraryEReserves</a>
103
+
104
+ <li><a href="./IVLE/Login.html">IVLE::Login</a>
105
+
106
+ <li><a href="./IVLE/MyOrganizer.html">IVLE::MyOrganizer</a>
107
+
108
+ <li><a href="./IVLE/OpenWebcastLectures.html">IVLE::OpenWebcastLectures</a>
109
+
110
+ <li><a href="./IVLE/Poll.html">IVLE::Poll</a>
111
+
112
+ <li><a href="./IVLE/Profile.html">IVLE::Profile</a>
113
+
114
+ <li><a href="./IVLE/RostersAndGroups.html">IVLE::RostersAndGroups</a>
115
+
116
+ <li><a href="./IVLE/StudentEvents.html">IVLE::StudentEvents</a>
117
+
118
+ <li><a href="./IVLE/Timetable.html">IVLE::Timetable</a>
119
+
120
+ <li><a href="./IVLE/Webcast.html">IVLE::Webcast</a>
121
+
122
+ <li><a href="./IVLE/Workbin.html">IVLE::Workbin</a>
123
+
124
+ <li><a href="./Fixtures.html">Fixtures</a>
125
+
126
+ <li><a href="./Fixtures/IVLE.html">Fixtures::IVLE</a>
127
+
128
+ <li><a href="./Object.html">Object</a>
129
+
130
+ </ul>
131
+ </nav>
132
+
133
+ </div>
134
+ </nav>
135
+
136
+ <div id="documentation">
137
+ <h1 class="module">module Fixtures</h1>
138
+
139
+ <div id="description" class="description">
140
+
141
+ </div><!-- description -->
142
+
143
+
144
+
145
+
146
+ <section id="5Buntitled-5D" class="documentation-section">
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+ <!-- Methods -->
156
+
157
+ </section><!-- 5Buntitled-5D -->
158
+
159
+ </div><!-- documentation -->
160
+
161
+
162
+ <footer id="validator-badges">
163
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
164
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
165
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
166
+ </footer>
167
+
@@ -0,0 +1,213 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=IBM437" http-equiv="Content-Type">
6
+
7
+ <title>module Fixtures::IVLE - 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="module">
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>spec/fixtures/ivle.rb
51
+ </ul>
52
+ </nav>
53
+
54
+
55
+ </div>
56
+
57
+ <div id="class-metadata">
58
+
59
+
60
+
61
+ <!-- Method Quickref -->
62
+ <nav id="method-list-section" class="section">
63
+ <h3 class="section-header">Methods</h3>
64
+
65
+ <ul class="link-list">
66
+
67
+ <li><a href="#method-i-read_fixture">#read_fixture</a>
68
+
69
+ </ul>
70
+ </nav>
71
+
72
+ </div>
73
+
74
+ <div id="project-metadata">
75
+ <nav id="fileindex-section" class="section project-section">
76
+ <h3 class="section-header">Pages</h3>
77
+
78
+ <ul>
79
+
80
+ <li class="file"><a href="../Gemfile.html">Gemfile</a>
81
+
82
+ <li class="file"><a href="../Rakefile.html">Rakefile</a>
83
+
84
+ </ul>
85
+ </nav>
86
+
87
+ <nav id="classindex-section" class="section project-section">
88
+ <h3 class="section-header">Class and Module Index</h3>
89
+
90
+ <ul class="link-list">
91
+
92
+ <li><a href="../IVLE.html">IVLE</a>
93
+
94
+ <li><a href="../IVLE/API.html">IVLE::API</a>
95
+
96
+ <li><a href="../IVLE/Announcement.html">IVLE::Announcement</a>
97
+
98
+ <li><a href="../IVLE/Community.html">IVLE::Community</a>
99
+
100
+ <li><a href="../IVLE/Consultation.html">IVLE::Consultation</a>
101
+
102
+ <li><a href="../IVLE/DeltaDatasets.html">IVLE::DeltaDatasets</a>
103
+
104
+ <li><a href="../IVLE/Forum.html">IVLE::Forum</a>
105
+
106
+ <li><a href="../IVLE/Gradebook.html">IVLE::Gradebook</a>
107
+
108
+ <li><a href="../IVLE/IVLEModule.html">IVLE::IVLEModule</a>
109
+
110
+ <li><a href="../IVLE/IVLENews.html">IVLE::IVLENews</a>
111
+
112
+ <li><a href="../IVLE/LibraryEReserves.html">IVLE::LibraryEReserves</a>
113
+
114
+ <li><a href="../IVLE/Login.html">IVLE::Login</a>
115
+
116
+ <li><a href="../IVLE/MyOrganizer.html">IVLE::MyOrganizer</a>
117
+
118
+ <li><a href="../IVLE/OpenWebcastLectures.html">IVLE::OpenWebcastLectures</a>
119
+
120
+ <li><a href="../IVLE/Poll.html">IVLE::Poll</a>
121
+
122
+ <li><a href="../IVLE/Profile.html">IVLE::Profile</a>
123
+
124
+ <li><a href="../IVLE/RostersAndGroups.html">IVLE::RostersAndGroups</a>
125
+
126
+ <li><a href="../IVLE/StudentEvents.html">IVLE::StudentEvents</a>
127
+
128
+ <li><a href="../IVLE/Timetable.html">IVLE::Timetable</a>
129
+
130
+ <li><a href="../IVLE/Webcast.html">IVLE::Webcast</a>
131
+
132
+ <li><a href="../IVLE/Workbin.html">IVLE::Workbin</a>
133
+
134
+ <li><a href="../Fixtures.html">Fixtures</a>
135
+
136
+ <li><a href="../Fixtures/IVLE.html">Fixtures::IVLE</a>
137
+
138
+ <li><a href="../Object.html">Object</a>
139
+
140
+ </ul>
141
+ </nav>
142
+
143
+ </div>
144
+ </nav>
145
+
146
+ <div id="documentation">
147
+ <h1 class="module">module Fixtures::IVLE</h1>
148
+
149
+ <div id="description" class="description">
150
+
151
+ </div><!-- description -->
152
+
153
+
154
+
155
+
156
+ <section id="5Buntitled-5D" class="documentation-section">
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+ <!-- Methods -->
166
+
167
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
168
+ <h3 class="section-header">Public Instance Methods</h3>
169
+
170
+
171
+ <div id="method-i-read_fixture" class="method-detail ">
172
+
173
+ <div class="method-heading">
174
+ <span class="method-name">read_fixture</span><span
175
+ class="method-args">(name)</span>
176
+ <span class="method-click-advice">click to toggle source</span>
177
+ </div>
178
+
179
+
180
+ <div class="method-description">
181
+
182
+
183
+
184
+
185
+
186
+ <div class="method-source-code" id="read_fixture-source">
187
+ <pre><span class="ruby-comment"># File spec/fixtures/ivle.rb, line 3</span>
188
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">read_fixture</span>(<span class="ruby-identifier">name</span>)
189
+ <span class="ruby-constant">File</span>.<span class="ruby-identifier">read</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-keyword">__FILE__</span>) <span class="ruby-operator">+</span> <span class="ruby-node">&quot;/api/#{name}&quot;</span>)
190
+ <span class="ruby-keyword">end</span></pre>
191
+ </div><!-- read_fixture-source -->
192
+
193
+ </div>
194
+
195
+
196
+
197
+
198
+ </div><!-- read_fixture-method -->
199
+
200
+
201
+ </section><!-- public-instance-method-details -->
202
+
203
+ </section><!-- 5Buntitled-5D -->
204
+
205
+ </div><!-- documentation -->
206
+
207
+
208
+ <footer id="validator-badges">
209
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
210
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.1.
211
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
212
+ </footer>
213
+