Class: RiderServer::Service

Inherits:
Object show all
Defined in:
lib/rider_server/service.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(session) ⇒ Service

Returns a new instance of Service.



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

def initialize(session)
  @session = session
end

Class Method Details

.service_nameObject



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

def self.service_name
  name.split("::").last.gsub(/(.)([A-Z])/, '\1_\2').downcase
end