Viceview::Rails
I created this module for displaying Adsense ads over https on my single page web app: https://www.datememe.com.
Installation
Add this line to your application's Gemfile:
gem 'viceview-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install viceview-rails
Usage
ViceView.showAdsense({adslot: {slot: "myslot", sizes: "[300,100]", id:"your adsenseid"}, element: "element", adwidth: 300, adheight: 100});
Contributing
- Fork it ( https://github.com/radiofrequency/viceview-rails/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request