Class: AppOpsClient::CLI::CTOF

Inherits:
Thor
  • Object
show all
Defined in:
lib/appops-client/cli/ctof.rb

Instance Method Summary collapse

Instance Method Details

#testObject



19
20
21
22
23
24
25
26
# File 'lib/appops-client/cli/ctof.rb', line 19

def test()
  #https://devinternal-prf.intuit.com:443/apip/remote/wbh4/v1/feed/5873
  http = Net::HTTP.new( "devinternal-prf.intuit.com", "443" )
  #Intuit_IAM_Authentication intuit_userid=12345,intuit_appid=Intuit.platform.qbodeveloper.testapp,intuit_app_secret=preprdvbgYUUxBx5SGqpPdOm3Iqhg38R6G7J75BO,id=5873
  http.use_ssl = true
  res = http.get( "/apip/remote/wbh4/v1/feed/5873" )
  pp res.body
end