Module: Ldbws

Defined in:
lib/ldbws.rb,
lib/ldbws/utils.rb,
lib/ldbws/service.rb,
lib/ldbws/version.rb

Overview

Utility functions for use within the library.

Defined Under Namespace

Modules: Request, ResponseTypes, Utils Classes: RequestError, ResponseParsingError, Service

Constant Summary collapse

VERSION =

The current gem version.

"1.0.2"

Class Method Summary collapse

Class Method Details

.service(token) ⇒ Object

Helper method that returns an instance of [Service].

Parameters

token

the API token used to connect to the service



10
11
12
# File 'lib/ldbws.rb', line 10

def self.service(token)
  Service.new(token)
end