Skip to content

Instantly share code, notes, and snippets.

@BriceShatzer
Last active April 10, 2018 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BriceShatzer/f5ad9f992d5b9d130f9e8995d5ea0899 to your computer and use it in GitHub Desktop.
Save BriceShatzer/f5ad9f992d5b9d130f9e8995d5ea0899 to your computer and use it in GitHub Desktop.
//...
import com.kinja.mantle.model.BlogSalesMetadata
//...
@template("tiger.section.head.standard")
final case class Standard(
//...
blogSalesObj: Option[BlogSalesMetadata])(implicit request: RequestPlus[_]): Standard = {
object Standard {
//...
def apply(
//...
blogSalesObj: Option[BlogSalesMetadata])(implicit request: RequestPlus[_]): Standard = {
//...
new Standard(
//...
blogSalesObj = BlogSalesMetadata)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment