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.0'

Class Method Summary collapse

Class Method Details

.app_info=(value) ⇒ Object



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

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

.configurationObject



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

def configuration
  TZInfo::Timezone.get('Europe/Rome')
end

.pingObject



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

def ping
  { status: 200 }
end

.versionObject



24
25
26
# File 'lib/beacon.rb', line 24

def version
  VERSION
end