Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fadendaten/bliss_hash_items
https://github.com/fadendaten/bliss_hash_items
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fadendaten/bliss_hash_items
- Owner: fadendaten
- License: mit
- Created: 2013-08-26T09:04:36.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-04T09:50:15.000Z (over 11 years ago)
- Last Synced: 2024-03-25T22:01:10.824Z (10 months ago)
- Language: Ruby
- Size: 105 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# BlissHashItems
This module was extracted from our internally used logistics system. Extraction WIP.
Tests not yet extracted. Avoid usage or use with caution.## Installation
Add this line to your application's Gemfile:
gem 'bliss_hash_items'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bliss_hash_items
## Usage
```ruby
class YourReceiptClass < ActiveRecord::Base
include BlissHashItems
has_many :line_items
# ...
endreceipt = YourReceiptClass.new
receipt.respond_to? :line_items_to_hash # => true
```