Module: Bnb
- Defined in:
- lib/bnb.rb,
lib/bnb/base.rb,
lib/bnb/version.rb,
lib/bnb/autoloader.rb,
lib/bnb/resources/all.rb,
lib/bnb/resources/new.rb,
lib/bnb/resources/gainer.rb
Defined Under Namespace
Classes: All, Autoloader, Base, Gainer, New
Constant Summary
collapse
- NAME =
'Bnb Ruby'
- VERSION =
'0.0.1'
Class Method Summary
collapse
Class Method Details
.app_info=(value) ⇒ Object
11
12
13
|
# File 'lib/bnb.rb', line 11
def app_info=(value)
::Bnb::Base.app_info = value
end
|
.path_prefix=(value) ⇒ Object
15
16
17
|
# File 'lib/bnb.rb', line 15
def path_prefix=(value)
::Bnb::Base.path_prefix = value
end
|
.ping ⇒ Object
19
20
21
|
# File 'lib/bnb.rb', line 19
def ping
{ status: 200 }
end
|
.version ⇒ Object
23
24
25
|
# File 'lib/bnb.rb', line 23
def version
VERSION
end
|