Sha256: a625813c469fc6244d17c8288843a2d4e8fd275946435ce81cfad4c373d40ef2
Contents?: true
Size: 301 Bytes
Versions: 3
Compression:
Stored size: 301 Bytes
Contents
$: << 'lib' require 'cic/active_cic' module Cic class Category < ActiveCic::Base def initialize(hash) super(hash) end #Fields reserved from Hashie override %w(id type).each do |attr| define_method attr do self.attributes.send(attr) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cic-1.0.2 | lib/cic/category.rb |
cic-1.0.1 | lib/cic/category.rb |
cic-1.0.0 | lib/cic/category.rb |