GithubHelp home page GithubHelp logo

sdp-api-ruby's Introduction

letheanSDP

letheanSDPClient - the Ruby gem for the Lethean Binary API

Functionality to simplify using LTHN

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.2.2
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://lt.hn

Installation

Build a gem

To build the Ruby code into a gem:

gem build letheanSDP.gemspec

Then either install the gem locally:

gem install ./letheanSDP-1.0.0.gem

(for development, run gem install --dev ./letheanSDP-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'letheanSDP', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/LetheanMovement/sdp-api-ruby, then add the following in the Gemfile:

gem 'letheanSDP', :git => 'https://github.com/LetheanMovement/sdp-api-ruby.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'letheanSDP'

api_instance = letheanSDPClient::VpnApi.new
data_dir = 'data_dir_example' # String | Returns the binary version
opts = {
  version: true # Boolean | Returns the binary version
}

begin
  api_instance.start_letheand(data_dir, opts)
rescue letheanSDPClient::ApiError => e
  puts "Exception when calling VpnApi->start_letheand: #{e}"
end

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
letheanSDPClient::VpnApi start_letheand GET /letheand/start

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

sdp-api-ruby's People

Contributors

snider avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.