Module: Gecko
- Defined in:
- lib/gecko.rb,
lib/gecko/base.rb,
lib/gecko/version.rb,
lib/gecko/autoloader.rb,
lib/gecko/resources/coin.rb,
lib/gecko/resources/request.rb
Defined Under Namespace
Classes: Autoloader, Base, Coin, Request
Constant Summary
collapse
- NAME =
'Gecko Ruby'
- VERSION =
'0.0.1'
Class Method Summary
collapse
Class Method Details
.app_info=(value) ⇒ Object
11
12
13
|
# File 'lib/gecko.rb', line 11
def app_info=(value)
::Gecko::Base.app_info = value
end
|
.path ⇒ Object
23
24
25
|
# File 'lib/gecko.rb', line 23
def path
@mutex.synchronize { ::Gecko::Base.path_prefix }
end
|
.path=(value) ⇒ Object
19
20
21
|
# File 'lib/gecko.rb', line 19
def path=(value)
@mutex.synchronize { ::Gecko::Base.path_prefix = value }
end
|
.ping ⇒ Object
15
16
17
|
# File 'lib/gecko.rb', line 15
def ping
{ status: 200 }
end
|
.version ⇒ Object
27
28
29
|
# File 'lib/gecko.rb', line 27
def version
VERSION
end
|