Sha256: d2a305c44a67c47f863435e82c3ac95da366531083ce476410ef41c950fb914b
Contents?: true
Size: 711 Bytes
Versions: 3
Compression:
Stored size: 711 Bytes
Contents
require 'active_model' # Load vendored Hashie2 unless it is already loaded. # We must have version >= 2.0 in order to get the Conversions API. if defined?(Hashie2) raise "Hashie2 >= 2.0.0 required by Hashie2Model." unless Hashie2::VERSION.split('.').first.to_i >= 2 else $:.unshift File.expand_path(File.join('..', 'vendor', 'hashie2', 'lib'), File.dirname(__FILE__)) end require 'hashie2' require 'active_support' require 'active_support/core_ext' require 'active_support/json' require 'money' require 'monetize' module HashieModel extend ActiveSupport::Autoload autoload :ArrayOf autoload :AssociatedValidator autoload :Base autoload :Money autoload :Version include ArrayOf end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hashie-model-1.4.2 | lib/hashie-model.rb |
hashie-model-1.4.1 | lib/hashie-model.rb |
hashie-model-1.4.0 | lib/hashie-model.rb |