Module: Flukso

Defined in:
lib/flukso/R.rb,
lib/flukso.rb,
lib/flukso/api.rb,
lib/flukso/plots.rb,
lib/flukso/export.rb,
lib/flukso/reading.rb,
lib/flukso/request.rb,
lib/flukso/database.rb,
lib/flukso/http_auth.rb

Overview

flukso4r: A Ruby library for Flukso © 2010 Mathias Dalheimer, [email protected]

Flukso4r is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.

Flukso4r is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with CGWG; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Defined Under Namespace

Classes: API, DailyLine, Detail_Exporter, ElementNotFoundError, FluksoDB, FluksoError, General, InformFlukso, Local_Exporter, NotFound, QueryReadings, RRunner, RateLimitExceeded, Request, ScatterPlotDaily, TestPlot, TokenAuth, UTCReading, UTC_Exporter, Unauthorized, Unavailable

Constant Summary collapse

API_VERSION =

Use only the encrypted endpoint. BASE_SENSOR_URL = “api.flukso.net/sensor

"1.0"
R_CMD =

Run R without saving of environment, as quiet as possible.

"Rscript --vanilla"
DB_SCHEMA =
<<-SQL
    create table :::TABLE_NAME::: (
      EPOCHTIME integer primary key,
      VALUE integer not null
    );
SQL