Sha256: 28a4075464a1886f5df5f65214ddad97dc6f94646e283bbfc2d878f138a37440

Contents?: true

Size: 533 Bytes

Versions: 12

Compression:

Stored size: 533 Bytes

Contents

require 'active_model'
require 'spyke/associations'
require 'spyke/attributes'
require 'spyke/orm'
require 'spyke/http'
require 'spyke/scopes'

module Spyke
  class Base
    # ActiveModel
    include ActiveModel::Conversion
    include ActiveModel::Model
    include ActiveModel::Validations
    include ActiveModel::Validations::Callbacks
    extend ActiveModel::Translation
    extend ActiveModel::Callbacks

    # Spyke
    include Associations
    include Attributes
    include Http
    include Orm
    include Scopes
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spyke-1.5.0 lib/spyke/base.rb
spyke-1.4.1 lib/spyke/base.rb
spyke-1.4.0 lib/spyke/base.rb
spyke-1.3.0 lib/spyke/base.rb
spyke-1.2.1 lib/spyke/base.rb
spyke-1.2.0 lib/spyke/base.rb
spyke-1.1.2 lib/spyke/base.rb
spyke-1.1.1 lib/spyke/base.rb
spyke-1.1.0 lib/spyke/base.rb
spyke-1.0.2 lib/spyke/base.rb
spyke-1.0.1 lib/spyke/base.rb
spyke-1.0.0 lib/spyke/base.rb