Module: Mobility::Backends::Sequel

Included in:
Column, Container, KeyValue, Serialized, Table
Defined in:
lib/mobility/backends/sequel/json.rb,
lib/mobility/backends/sequel.rb,
lib/mobility/backends/sequel/jsonb.rb,
lib/mobility/backends/sequel/hstore.rb,
lib/mobility/backends/sequel/pg_hash.rb

Overview

Internal class used by Sequel backends backed by a Postgres data type (hstore, jsonb).

Defined Under Namespace

Modules: ClassMethods Classes: Column, Container, Hstore, Json, Jsonb, KeyValue, Serialized, Table

Class Method Summary collapse

Class Method Details

.included(backend_class) ⇒ Object


7
8
9
10
# File 'lib/mobility/backends/sequel.rb', line 7

def self.included(backend_class)
  backend_class.include Backend
  backend_class.extend ClassMethods
end