Store variables online and retrieve it in Ruby script?
Are there any online services/servers that could store information like:
username
email
company information
So that it could be retrieved by Ruby script?开发者_开发技巧
For a simple key/value store in the cloud check out Amazon SimpleDB
For complex relational data use a database. If you want a database in the cloud check-out Amazon RDS.
Yes, they are also known as databases.
You can set up your own db if you have a server, or you can try and find someone who will host databases for you (try Googling "Free MySQL" for example)
Amazon S3 is an online server that stores your variables, properties, files online and allows you to retrieve them via kind of API.
With a small amount of knowledge about how git works, you could easily set up a 1-file rack or Sinatra application on heroku to do this.
OpenKeyval Simple Key/Value storage. And it's Free. Not secure though.
精彩评论