Module: InfraForge

Defined in:
lib/infraforge.rb,
lib/infraforge/version.rb

Overview

InfraForge SDK — auth + database query against a project.

Example:

c = InfraForge::Client.new(url: "https://infraforge.example.com",
                           project_slug: "my-app",
                           api_key: "if_xxx")
c.(email: "alice@example.com", password: "secret")
rows = c.query("SELECT id FROM posts WHERE author_id = current_user_id()")

Defined Under Namespace

Classes: AuthError, Client, QueryError, Session, User

Constant Summary collapse

VERSION =
"0.1.0"