I am testing with Stripe for my website.This is the script to create an account.
require 'stripe'
Stripe.api_key = 'sk_test_viztoDNoflBnvkVwr8QG9SPE'
Stripe::Account.create(
:country => "US",
:managed => false,
:email => "ra@stripe.com"
)
The ruby code is run in the terminal with the command
ruby stripe.rb
The command runs successfully . But I am not recieving the json response in the terminal. Can anyone tell me why?