Class: Nephophobia::Rails
- Inherits:
-
Object
- Object
- Nephophobia::Rails
- Defined in:
- lib/nephophobia.rb
Constant Summary collapse
- CLASSES =
[ ::Nephophobia::Response::Address, ::Nephophobia::Response::Compute, ::Nephophobia::Response::Credential, ::Nephophobia::Response::Image, ::Nephophobia::Response::Member, ::Nephophobia::Response::Project, ::Nephophobia::Response::Role, ::Nephophobia::Response::User, ::Nephophobia::Response::Vnc ].freeze
Class Method Summary collapse
Class Method Details
.insert ⇒ Object
42 43 44 45 46 47 48 |
# File 'lib/nephophobia.rb', line 42 def self.insert CLASSES.each do |clazz| clazz.class_eval do include ActiveModel::Serialization end end end |