prey / gdpr_rails

Rails Engine for the GDPR compliance
https://preyproject.com
MIT License
626 stars 62 forks source link

store cookie method #13

Closed patriciojofre closed 6 years ago

patriciojofre commented 6 years ago

This PR adds the missing store cookie method.

@user.store_cookie("your_cookie") if cookies["policy_rule_your_cookie"] == "accepted"
coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 43


Changes Missing Coverage Covered Lines Changed/Added Lines %
app/models/policy_manager/concerns/user_behavior.rb 1 5 20.0%
<!-- Total: 1 5 20.0% -->
Totals Coverage Status
Change from base Build 37: -0.5%
Covered Lines: 739
Relevant Lines: 797

💛 - Coveralls