Files
w3dhub_linux_launcher/lib/api/service_status.rb
2021-11-14 12:07:09 -06:00

18 lines
329 B
Ruby

class W3DHub
class Api
class ServiceStatus
def initialize(response)
@data = JSON.parse(response, symbolize_names: true)
end
def authentication?
@data[:services][:authentication]
end
def package_download?
@data[:services][:packageDownload]
end
end
end
end