Project

dawn-api

0.0
No commit activity in last 3 years
No release in over 3 years
Dawn Client API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.34
~> 1.8
~> 0.7
~> 1.6
 Project Readme

Dawn-API

Dependency Status Gem Version Code Climate Inch-CI

Ruby API for Dawn

Installation

gem install dawn-api

Building

gem pack dawn-api.gem

Documentation:

Rubydoc

API Reference

Influential ENV variable

VAR API default Description
DAWN_HOST dawn.dev Main hostname
DAWN_SCHEME http
DAWN_API_HOST api.dawn.dev Dawn API hostname, if not given, api.$DAWN_HOST is used
DAWN_GIT_HOST dawn.dev Target for git push dawn, if not given, $DAWN_HOST is used
DAWN_LOG_HOST dawn.dev:8001 Dawn logs hostname, if not given, $DAWN_HOST:8001 is used

What is this?

This is the ruby API interface for Dawn,

  • It is not a standalone gem.
  • It requires a dawn server.
  • It is not a CLI, look at Dawn-CLI instead

Usage

One day I'll write this properly, however for now:

Dawn.authenticate
my_app = Dawn::App.create
my_app.domains.all
my_app.gears.restart