Skip to content

Commit

Permalink
added require_relative to all files that use Jammed::API
Browse files Browse the repository at this point in the history
  • Loading branch information
seanslerner committed May 15, 2012
1 parent 0da8b08 commit 7e51799
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/jammed/followers.rb
@@ -1,3 +1,5 @@
require_relative 'api'

module Jammed #:nodoc:
# Provides methods for calling API endpoint /follower.json?
class Followers < API
Expand Down
2 changes: 2 additions & 0 deletions lib/jammed/following.rb
@@ -1,3 +1,5 @@
require_relative 'api'

module Jammed #:nodoc:
# Provides methods for calling API endpoint /following.json?
class Following < API
Expand Down
2 changes: 2 additions & 0 deletions lib/jammed/jams.rb
@@ -1,3 +1,5 @@
require_relative 'api'

module Jammed #:nodoc:
# Provides methods for calling API endpoint /jams.json?
class Jams < API
Expand Down
2 changes: 2 additions & 0 deletions lib/jammed/likes.rb
@@ -1,3 +1,5 @@
require_relative 'api'

module Jammed #:nodoc:
# Provides methods for calling API endpoint /likes.json?
class Likes < API
Expand Down
1 change: 1 addition & 0 deletions lib/jammed/people_search.rb
@@ -1,3 +1,4 @@
require_relative 'api'
require 'uri'

module Jammed #:nodoc:
Expand Down
2 changes: 2 additions & 0 deletions lib/jammed/person.rb
@@ -1,3 +1,5 @@
require_relative 'api'

module Jammed #:nodoc:
# Provides methods for calling API endpoint /username.json? and accessing user specific data
class Person < API
Expand Down
2 changes: 2 additions & 0 deletions lib/jammed/popular_jams.rb
@@ -1,3 +1,5 @@
require_relative 'api'

module Jammed #:nodoc:
# Provides method for calling API endpoint /popular.json?
class PopularJams < API
Expand Down
2 changes: 2 additions & 0 deletions lib/jammed/random.rb
@@ -1,3 +1,5 @@
require_relative 'api'

module Jammed #:nodoc:
# Provides method for calling API endpoint /random.json?
class RandomJam < API
Expand Down

0 comments on commit 7e51799

Please sign in to comment.