This commit is contained in:
r888888888
2014-04-16 17:43:34 -07:00
parent 7a61048d69
commit fad0ab7c93
105 changed files with 610 additions and 485 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
module PostSets
class Favorite < Base
class Favorite < PostSets::Base
attr_reader :user, :page, :favorites, :params
def initialize(user_id, page = 1, params = {})
+1 -1
View File
@@ -1,5 +1,5 @@
module PostSets
class Note < Post
class Note < PostSets::Post
attr_reader :params
def initialize(params)
+1 -1
View File
@@ -1,5 +1,5 @@
module PostSets
class Pool < Base
class Pool < PostSets::Base
module ActiveRecordExtension
attr_accessor :total_pages, :current_page
end
+1 -1
View File
@@ -1,5 +1,5 @@
module PostSets
class Popular < Base
class Popular < PostSets::Base
attr_reader :date, :scale
def initialize(date, scale)
+1 -1
View File
@@ -1,5 +1,5 @@
module PostSets
class Post < Base
class Post < PostSets::Base
attr_reader :tag_array, :page, :per_page, :raw
def initialize(tags, page = 1, per_page = nil, raw = false)