Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swordray/adsense_helper
Rails helper for Google Adsense code
https://github.com/swordray/adsense_helper
actionview adsense rails ruby
Last synced: 2 months ago
JSON representation
Rails helper for Google Adsense code
- Host: GitHub
- URL: https://github.com/swordray/adsense_helper
- Owner: swordray
- License: mit
- Created: 2014-02-28T10:07:06.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-01-27T03:51:38.000Z (almost 3 years ago)
- Last Synced: 2024-10-31T13:58:38.694Z (3 months ago)
- Topics: actionview, adsense, rails, ruby
- Language: Ruby
- Homepage:
- Size: 9.77 KB
- Stars: 5
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# adsense_helper
[![Gem Version](https://badge.fury.io/rb/adsense_helper.png)](http://badge.fury.io/rb/adsense_helper) [![Build Status](https://secure.travis-ci.org/swordray/adsense_helper.png?branch=master)](http://travis-ci.org/swordray/adsense_helper) [![Dependency Status](https://gemnasium.com/swordray/adsense_helper.png?travis)](https://gemnasium.com/swordray/adsense_helper) [![Code Climate](https://codeclimate.com/github/swordray/adsense_helper.png)](https://codeclimate.com/github/swordray/adsense_helper)
Helper for Google Adsense code
## Requirements
* Ruby ~> 2.0
## Installation
Include the gem in your Gemfile:
```ruby
gem 'adsense_helper'
```## Usage
```ruby
adsense_tag(client: 0000000000000000, slot: 1111111111, dimension: '336x280')
```## Sponsors
* [BaiLu ShuYuan](https://bailushuyuan.org)
## License
Copyright © 2014 Jianqiu Xiao under The [MIT License](http://opensource.org/licenses/MIT).