Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crystal_lucky
master
Api
Auth
Helpers
RequireAuthToken
SkipRequireAuthToken
Concerns
Response
Me
Show
Merchants
Create
List
Show
Posts
Create
List
Show
SignIns
Create
SignUps
Create
ApiAction
AppDatabase
HabitatSettings
AppServer
BaseEmail
HabitatSettings
BaseModel
BaseSerializer
Errors
Show
ErrorSerializer
Home
Index
Merchant
BaseQuery
DeleteOperation
PrimaryKeyType
SaveOperation
MerchantQuery
MerchantSerializer
PasswordValidations
Post
BaseQuery
DeleteOperation
PrimaryKeyType
SaveOperation
PostQuery
PostSerializer
RequestPasswordReset
ResetPassword
SaveMerchant
SavePost
SignInUser
SignUpUser
User
BaseQuery
DeleteOperation
PrimaryKeyType
SaveOperation
UserFromEmail
UserQuery
UserSerializer
UserToken
HabitatSettings
Built with Crystal 1.9.2
2023-10-08 13:55:06 UTC
class
PostSerializer
PostSerializer
BaseSerializer
Lucky::Serializer
Reference
Object
Defined in:
serializers/post_serializer.cr
Constructors
.new
(post : Post)
Instance Method Summary
#render
Class methods inherited from class
BaseSerializer
for_collection(collection : Enumerable, pages : Lucky::Paginator | Nil =
nil
, *args, **named_args)
for_collection
Constructor Detail
def self.
new
(post :
Post
)
#
[
View source
]
Instance Method Detail
def
render
#
[
View source
]