Module: Reddit::JsonListing

Included in:
Comment, Message, MessageGroup, Submission, Thing, User
Defined in:
lib/ruby_reddit_api/json_listing.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
# File 'lib/ruby_reddit_api/json_listing.rb', line 4

def self.included(base)
  base.extend(ClassMethods)
  base.send(:include, InstanceMethods)
end