An open API service indexing awesome lists of open source software.

https://github.com/hardpixel/simple-attribute

Attribute decorator support for ActiveRecord models.
https://github.com/hardpixel/simple-attribute

actionpack decorator ruby-gem ruby-on-rails

Last synced: about 2 months ago
JSON representation

Attribute decorator support for ActiveRecord models.

Awesome Lists containing this project

README

          

# SimpleAttribute

Attribute decorator support for ActiveRecord models.

[![Gem Version](https://badge.fury.io/rb/simple_attribute.svg)](https://badge.fury.io/rb/simple_attribute)
[![Build Status](https://travis-ci.org/hardpixel/simple-attribute.svg?branch=master)](https://travis-ci.org/hardpixel/simple-attribute)
[![Maintainability](https://api.codeclimate.com/v1/badges/22f68b2e62b222e7efae/maintainability)](https://codeclimate.com/github/hardpixel/simple-attribute/maintainability)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'simple_attribute'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install simple_attribute

## Usage

TODO: Write usage instructions here

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`.

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/hardpixel/simple-attribute.

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).