module Representable::JSON::Hash

“Lonely Hash” support.

Public Class Methods

included(base) click to toggle source
# File lib/representable/json/hash.rb, line 6
def self.included(base)
  base.class_eval do
    include Representable
    extend ClassMethods
    include Representable::JSON
    include Representable::HashMethods
    property(:_self, hash: true)
  end
end