Class: Redd::Models::Listing
- Inherits:
-
BasicModel
- Object
- BasicModel
- Redd::Models::Listing
- Includes:
- Enumerable
- Defined in:
- lib/redd/models/listing.rb
Overview
A backward-expading listing of items.
Instance Attribute Summary
Attributes inherited from BasicModel
Instance Method Summary collapse
-
#to_ary ⇒ Array<Comment, Submission, PrivateMessage>
An array representation of self.
Methods inherited from BasicModel
from_id, #initialize, #inspect, #method_missing, #respond_to_missing?, #to_h
Constructor Details
This class inherits a constructor from Redd::Models::BasicModel
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Redd::Models::BasicModel
Instance Method Details
#to_ary ⇒ Array<Comment, Submission, PrivateMessage>
Returns an array representation of self.
13 14 15 |
# File 'lib/redd/models/listing.rb', line 13 def to_ary get_attribute(:children) end |