Project

legal-docs

0.0
No commit activity in last 3 years
No release in over 3 years
legal-docs provides a customisable privacy policy and terms of service, backed by I18n that can used in your apps.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.1.2
~> 1.8.3
~> 2.8.0

Runtime

 Project Readme

Legal Docs

Build Status

The aim of this project is to get you up and running with a privacy policy and terms of service quickly, and without having to write the damn things for each application.

Installation

Add legal-docs to your Gemfile and run the bundle command.

Use

There are currently 2 documents that you can use :

  • A privacy policy (privacy_policy)
  • Terms of service (terms_of_service)

In your views call this to render the document's text :

LegalDocs::privacy_policy.text

You can also get a document's title (for a link title for example), like so :

LegalDocs::privacy_policy.title

Customising interpolations

Interpolations use I18n; to customise, simply overwrite any of the following keys :

en:
  vendor:
    legal_docs:
      interpolations:
        arbitration:
          language:
          location:
        company:
          name:
          short_name:
          url:
        governing_law:
          country:
          location:
          venue:
        open_source_licence:
          image_url:
          url:
          long_name:
          organisation:
          short_name:
        service.description:
          dmca_url:
          free_features:
          name:
          paid_features:
          privacy_policy_url:
          support_email:
          url: