Module: RedditKit
- Defined in:
- lib/redditkit.rb,
lib/redditkit/base.rb,
lib/redditkit/link.rb,
lib/redditkit/user.rb,
lib/redditkit/error.rb,
lib/redditkit/thing.rb,
lib/redditkit/client.rb,
lib/redditkit/comment.rb,
lib/redditkit/version.rb,
lib/redditkit/votable.rb,
lib/redditkit/creatable.rb,
lib/redditkit/subreddit.rb,
lib/redditkit/client/apps.rb,
lib/redditkit/client/wiki.rb,
lib/redditkit/multireddit.rb,
lib/redditkit/client/flair.rb,
lib/redditkit/client/links.rb,
lib/redditkit/client/users.rb,
lib/redditkit/client/search.rb,
lib/redditkit/client/voting.rb,
lib/redditkit/client/account.rb,
lib/redditkit/client/captcha.rb,
lib/redditkit/client/comments.rb,
lib/redditkit/private_message.rb,
lib/redditkit/client/utilities.rb,
lib/redditkit/moderator_action.rb,
lib/redditkit/client/moderation.rb,
lib/redditkit/client/subreddits.rb,
lib/redditkit/paginated_response.rb,
lib/redditkit/client/multireddits.rb,
lib/redditkit/response/parse_json.rb,
lib/redditkit/client/miscellaneous.rb,
lib/redditkit/response/raise_error.rb,
lib/redditkit/client/private_messages.rb,
lib/redditkit/multireddit_description.rb
Overview
The main RedditKit module.
Defined Under Namespace
Modules: Creatable, Response, Votable Classes: Archived, AuthenticationRequired, BadGateway, Base, Client, Comment, Conflict, Error, InternalServerError, InvalidCaptcha, InvalidClassName, InvalidCredentials, InvalidMultiredditName, Link, ModeratorAction, Multireddit, MultiredditDescription, PaginatedResponse, PermissionDenied, PrivateMessage, RateLimited, RequestError, ServiceUnavailable, Subreddit, Thing, TimedOut, TooManyClassNames, User, Version
Class Method Summary collapse
-
.client ⇒ RedditKit::Client
A RedditKit::Client, used when calling methods on the RedditKit module itself.
- .respond_to?(method_name, include_private = false) ⇒ Boolean
Class Method Details
.client ⇒ RedditKit::Client
A RedditKit::Client, used when calling methods on the RedditKit module itself.
11 12 13 |
# File 'lib/redditkit.rb', line 11 def client @client ||= RedditKit::Client.new end |
.respond_to?(method_name, include_private = false) ⇒ Boolean
15 16 17 |
# File 'lib/redditkit.rb', line 15 def respond_to?(method_name, include_private = false) client.respond_to?(method_name, include_private) || super end |