Module: Beacon

Defined in:
lib/beacon.rb,
lib/beacon/base.rb,
lib/beacon/version.rb,
lib/beacon/autoloader.rb,
lib/beacon/resources/service.rb

Defined Under Namespace

Classes: Autoloader, Base, Service

Constant Summary collapse

NAME =
'Beacon Ruby'
VERSION =
'0.0.1'

Class Method Summary collapse

Class Method Details

.app_info=(value) ⇒ Object



11
12
13
# File 'lib/beacon.rb', line 11

def app_info=(value)
  ::Beacon::Base.app_info = value
end

.pingObject



15
16
17
# File 'lib/beacon.rb', line 15

def ping
  { status: 200 }
end

.versionObject



19
20
21
# File 'lib/beacon.rb', line 19

def version
  VERSION
end