Module: Cryptid
- Defined in:
- lib/cryptid.rb,
lib/cryptid/client.rb,
lib/cryptid/helpers.rb,
lib/cryptid/version.rb,
lib/cryptid/configuration.rb
Defined Under Namespace
Classes: Client, Configuration, Helpers
Constant Summary
collapse
- VERSION =
"0.1.0"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.client ⇒ Object
22
23
24
|
# File 'lib/cryptid.rb', line 22
def client
@client ||= Client.new
end
|
.configuration ⇒ Object
10
11
12
|
# File 'lib/cryptid.rb', line 10
def configuration
@configuration ||= Configuration.new
end
|
Class Method Details
18
19
20
|
# File 'lib/cryptid.rb', line 18
def configure
yield(configuration)
end
|
.reset ⇒ Object
14
15
16
|
# File 'lib/cryptid.rb', line 14
def reset
@configuration = Configuration.new
end
|
.send(event) ⇒ Object
26
27
28
|
# File 'lib/cryptid.rb', line 26
def send(event)
client.send(event)
end
|