Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
25fa6f427b
|
@ -0,0 +1,18 @@
|
||||||
|
class Trace::SystemInfoService < Trace::ClientService
|
||||||
|
|
||||||
|
attr_accessor :token
|
||||||
|
|
||||||
|
def initialize(token)
|
||||||
|
@token = token
|
||||||
|
end
|
||||||
|
|
||||||
|
def call
|
||||||
|
result = authed_get(token, url)
|
||||||
|
response = render_response(result)
|
||||||
|
end
|
||||||
|
|
||||||
|
private
|
||||||
|
def url
|
||||||
|
'/user/systemInfo'.freeze
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue