Module: Billit::BillRepresenter
- Includes:
- Roar::Representer::JSON::HAL
- Included in:
- Bill
- Defined in:
- lib/billit_representers/representers/bill_representer.rb
Defined Under Namespace
Modules: Initializer
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
23 24 25 26 27 |
# File 'lib/billit_representers/representers/bill_representer.rb', line 23 def self.included(klass) klass.send :prepend, Initializer klass.send :include, ActiveModel::Validations klass.send :include, Roar::Representer::Feature::HttpVerbs end |