README.md in iron_titan-0.0.1 vs README.md in iron_titan-0.0.2
- old
+ new
@@ -1,10 +1,49 @@
+## Installation
+```
+gem install iron_titan
+```
+Or add `gem "iron_titan"` to your Gemfile.
+
+## Usage
+
+```ruby
+IronTitan.configure do |config|
+ config.host = "192.168.99.100:8080"
+ config.scheme = "http"
+end
+
+@titan = IronTitan::JobsApi.new
+```
+
+Then use it:
+
+```ruby
+# Post a job
+r = @titan.jobs_post(jobs: [{
+ image: 'treeder/echo:latest',
+ delay: 5,
+ payload: {input: 'Test Input'}.to_json
+ }])
+input_string = "Test Input"
+job = r.jobs[0]
+p job
+
+# Get job status
+job = @titan.job_id_get(job.id).job
+puts job.status
+
+# Get logs
+log = @titan.job_id_log_get(r_payload.jobs[0].id).log
+p log
+```
+
## Building/testing this Gem
```
gem build swagger_client.gemspec
-gem install iron-titan-X.Y.Z.gem
+gem install iron_titan-X.Y.Z.gem
```