Module: Geewiz
- Defined in:
- lib/geewiz.rb,
lib/geewiz/client.rb,
lib/geewiz/version.rb,
lib/geewiz/var_cache.rb
Overview
Provides functionality interacting with clients. To use the global client, call ‘Geewiz.card(…)`, `Geewiz.vars = …`, etc.
Defined Under Namespace
Classes: Client, Error, VarCache
Constant Summary
collapse
- VERSION =
"0.1.1".freeze
Class Method Summary
collapse
Class Method Details
.card ⇒ Object
23
|
# File 'lib/geewiz.rb', line 23
def card(...) = client.card(...)
|
.client ⇒ Object
18
19
20
|
# File 'lib/geewiz.rb', line 18
def client(...)
@client ||= initialize_client(...)
end
|
.get_user_config ⇒ Object
24
|
# File 'lib/geewiz.rb', line 24
def get_user_config(...) = client.get_user_config(...)
|
.initialize_client ⇒ Object
14
15
16
|
# File 'lib/geewiz.rb', line 14
def initialize_client(...)
@client = Client.new(...)
end
|
.set ⇒ Object
22
|
# File 'lib/geewiz.rb', line 22
def set(...) = client.set(...)
|
.var ⇒ Object
25
|
# File 'lib/geewiz.rb', line 25
def var(...) = client.var(...)
|
.vars ⇒ Object
26
|
# File 'lib/geewiz.rb', line 26
def vars(...) = client.vars(...)
|