https://github.com/cimon-io/glipper
decorate rails models
https://github.com/cimon-io/glipper
helpers rails ruby
Last synced: 4 months ago
JSON representation
decorate rails models
- Host: GitHub
- URL: https://github.com/cimon-io/glipper
- Owner: cimon-io
- License: mit
- Created: 2015-05-29T08:15:58.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2025-04-18T16:21:33.000Z (about 1 year ago)
- Last Synced: 2025-05-29T12:11:02.434Z (about 1 year ago)
- Topics: helpers, rails, ruby
- Language: Ruby
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Glipper
**pending**
## Installation
Add this line to your application's Gemfile:
gem 'glipper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install glipper
## Usage
**pending**
```ruby
module GliperHelper
protected def glip(resource)
ApplicationDrapper.decorate(resource, self)
end
end
```
Files `app/drappers/*_drapper.rb`.
## Contributing
1. Fork it ( https://github.com/[my-github-username]/glipper/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request