Sha256: be3e1d91394063867884667ef643f8f29b29ab2e6144c03bede6dedd4746b94b
Contents?: true
Size: 473 Bytes
Versions: 8
Compression:
Stored size: 473 Bytes
Contents
# -*- encoding: utf-8 -*- require "enju_nii/engine" require 'open-uri' require 'enju_nii/cinii_book' module EnjuNii module ActsAsMethods def self.included(base) base.extend ClassMethods end module ClassMethods def enju_nii_cinii_books include EnjuNii::CiNiiBook end end end class RecordNotFound < StandardError end class InvalidIsbn < StandardError end end ActiveRecord::Base.send :include, EnjuNii::ActsAsMethods
Version data entries
8 entries across 8 versions & 1 rubygems