Skip to content

qwil/ruby-api-client

Repository files navigation

qwil_api

QwilAPI - the Ruby gem for the

No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

This SDK is automatically generated by the Swagger Codegen project:

  • API version:
  • Package version: 0.1.0
  • Build date: 2016-12-22T19:24:41.076-08:00
  • Build package: class io.swagger.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build qwil_api.gemspec

Then either install the gem locally:

gem install ./qwil_api-0.1.0.gem

(for development, run gem install --dev ./qwil_api-0.1.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 'qwil_api', '~> 0.1.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'qwil_api', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.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 'qwil_api'

api_instance = QwilAPI::MembershipsApi.new

pk = "pk_example" # String | 


begin
  #
  result = api_instance.membership_retrieve(pk)
  p result
rescue QwilAPI::ApiError => e
  puts "Exception when calling MembershipsApi->membership_retrieve: #{e}"
end

Documentation for API Endpoints

All URIs are relative to http://localhost:8000/

Class Method HTTP request Description
QwilAPI::MembershipsApi membership_retrieve GET /memberships/{pk}/

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages