Module: Distem::NetAPI

Defined in:
lib/distem/netapi/netapi.rb,
lib/distem/netapi/server.rb,
lib/distem/netapi/client.rb

Overview

All REST API related classes

Defined Under Namespace

Classes: Client, CoordinatorServer, PnodeServer, Server, ServerCoordinator, ServerPnode

Constant Summary

CLASSMAP =
{
    Hash => lambda { |x| x.to_json },
    Array => lambda { |x| x.to_json },
    String => lambda { |x| x },
    TrueClass => lambda { |x| x },
    FalseClass => lambda { |x| x },
    Numeric => lambda { |x| x },
    NilClass => lambda { |x| x }
}