use Services::Helpers
This commit is contained in:
parent
f2aa938f84
commit
6dd2399118
|
@ -5,7 +5,7 @@ require 'active_record/base'
|
|||
class Travis::Api::App
|
||||
# Superclass for HTTP endpoints. Takes care of prefixing.
|
||||
class Endpoint < Base
|
||||
include Travis::Services
|
||||
include Travis::Services::Helpers
|
||||
|
||||
set(:prefix) { "/" << name[/[^:]+$/].underscore }
|
||||
set disable_root_endpoint: false
|
||||
|
|
Loading…
Reference in New Issue
Block a user