Module: EskomSePush

Defined in:
lib/eskomsepush_ruby.rb,
lib/eskomsepush/client.rb,
lib/eskomsepush/version.rb,
lib/eskomsepush/exception.rb

Overview

Returns a new instance of API

Parameters:

token

Your API token

options

A hash of options

Returns:

A new instance of API

Defined Under Namespace

Classes: Client, EskomSePushError

Constant Summary collapse

VERSION =

Static Version of EskomSePush Rubygem

"1.0.0"

Class Method Summary collapse

Class Method Details

.client(api_key) ⇒ Object



16
17
18
# File 'lib/eskomsepush_ruby.rb', line 16

def self.client(api_key)
  Client.new(api_key)
end