【文件属性】:
文件名称:acts_as_nps_rateable:Rails 4.x的一个宝石Ruby,实现了Net Promoter Score
文件大小:15KB
文件格式:ZIP
更新时间:2021-04-29 23:27:58
Ruby
actions_as_nps_rateable
act_as_nps_rateable为基于ActiveRecord的模型提供净促销值(NPS)评级和分析。 促销员净额是衡量客户满意度的指标; 它是会推荐您的产品/服务的客户比例与不会推荐您的产品/服务的客户比例之比。
NPS在Wikipedia上有更详细的记录: :
安装
将此行添加到您的应用程序的Gemfile中:
gem 'acts_as_nps_rateable'
如果要将此gem添加到rails 3应用程序,则应将行更改为:
gem 'acts_as_nps_rateable', '=0.0.4'
然后执行:
$ bundle
或将其自己安装为:
$ gem install acts_as_nps_rateable
一旦安装了gem,就需要将act_as_nps_rateable所需的迁移安装到项目中,并运行所有待
【文件预览】:
acts_as_nps_rateable-develop
----acts_as_nps_rateable.gemspec(1KB)
----LICENSE.txt(1KB)
----.ruby-version(11B)
----lib()
--------acts_as_nps_rateable.rb(378B)
--------generators()
--------nps_rating.rb(3KB)
--------acts_as_nps_rateable()
----Gemfile(165B)
----.ruby-gemset(21B)
----Rakefile(28B)
----README.md(5KB)
----.gitignore(3KB)