Module: WdaClient::Homescreen
- Included in:
- WdaClient
- Defined in:
- lib/wda_client/homescreen.rb
Instance Method Summary collapse
Instance Method Details
#homescreen ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/wda_client/homescreen.rb', line 5 def homescreen req = generate_base_req(method: :post, url_path: '/homescreen') req.body = "" res = Net::HTTP.start(@base_url.host, @base_url.port) { |http| http.request(req) } JSON.parse(res.body) end |