Surgex v2.1.1 API Reference

Modules

Runs tasks from the Surgex.Refactor module

Main Surgex OTP application that calls patches configured for running and hibernates itself

Tools for working with Ecto changesets

Application config getter, aka. Application.get_env on steroids

Tools for moving data between PostgreSQL databases and tables

Waits for a PostgreSQL slave synchronization with a remote master

Configures a PostgreSQL Foreign Data Wrapper linkage between two repos

Extracts and transforms data from one PostgreSQL table into another

Configures Ruby on Rails + Devise session in Plug

Helpers that assist in working with session fetched via Surgex.DeviseSession plug

Official style guide for Elixir and Phoenix projects at Surge Ventures

Basic code style and formatting guidelines

Higher level application design and engineering guidelines

Parses, casts and catches errors in the web request input, such as params or JSON API body

Checks if the given parameter’s value is on the list of allowed values

Holds a box made of two points on Earth’s surface

Holds a specific point on Earth’s surface

Parses the JSON API’s include parameter according to the JSON API spec

Parses the JSON API’s sort parameter according to the JSON API spec

An Ecto.Type implementation of E164-compilant phone numbers

Tools for making code maintenance and refactors easier

Maps module names to filenames and finds non-matches

Extensions to the official Sentry package