nimbox_ruby 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/lib/nimbox/client.rb +3 -0
- data/lib/nimbox/resources/consultation_diagnostics.rb +7 -0
- data/lib/nimbox/resources/consultations.rb +6 -0
- data/lib/nimbox/resources/diagnostics.rb +6 -0
- data/lib/nimbox/version.rb +1 -1
- data/lib/nimbox.rb +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ebb942aead342f307f29686fee9177a478124bd4
|
|
4
|
+
data.tar.gz: 48eddfa7b134041bc1101767607a0bb4f96e4b88
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d15a74ec4a38dc74542dcd0be34012cc4dba0bf2ae8b6e8129b304d9e3b8932cf0536ca5a6747c55a17753edd489d69185824bd0cc3a378f6a41588f9b67d67
|
|
7
|
+
data.tar.gz: 1e1a954b09c143806236df18e2328f4bb03d7cfc22e5e298a7ec92f4a09233eda62e1ed5364701fe36b53fe200213357e2e8a78d513380849311ffcb3f4e30b4
|
data/README.md
CHANGED
|
@@ -65,6 +65,13 @@ Retrieve a consultation.
|
|
|
65
65
|
```ruby
|
|
66
66
|
client.consultations!('1')
|
|
67
67
|
```
|
|
68
|
+
|
|
69
|
+
Finish a consultation.
|
|
70
|
+
|
|
71
|
+
```ruby
|
|
72
|
+
client.consultations.finish('1')
|
|
73
|
+
```
|
|
74
|
+
|
|
68
75
|
## License
|
|
69
76
|
|
|
70
77
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/lib/nimbox/client.rb
CHANGED
|
@@ -10,6 +10,9 @@ module Nimbox
|
|
|
10
10
|
|
|
11
11
|
resource :people, class_name: Nimbox::Resources::People
|
|
12
12
|
resource :consultations, class_name: Nimbox::Resources::Consultations
|
|
13
|
+
resource :consultation_diagnostics,
|
|
14
|
+
class_name: Nimbox::Resources::ConsultationDiagnostics
|
|
15
|
+
resource :diagnostics, class_name: Nimbox::Resources::Diagnostics
|
|
13
16
|
|
|
14
17
|
def initialize(options={})
|
|
15
18
|
options[:site] = options[:site]
|
data/lib/nimbox/version.rb
CHANGED
data/lib/nimbox.rb
CHANGED
|
@@ -2,6 +2,8 @@ require 'rapidash'
|
|
|
2
2
|
require_relative 'nimbox/version'
|
|
3
3
|
require_relative 'nimbox/resources/people'
|
|
4
4
|
require_relative 'nimbox/resources/consultations'
|
|
5
|
+
require_relative 'nimbox/resources/diagnostics'
|
|
6
|
+
require_relative 'nimbox/resources/consultation_diagnostics'
|
|
5
7
|
require_relative 'nimbox/client'
|
|
6
8
|
|
|
7
9
|
module Nimbox
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nimbox_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amed Rodriguez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-01-
|
|
11
|
+
date: 2016-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -126,7 +126,9 @@ files:
|
|
|
126
126
|
- bin/setup
|
|
127
127
|
- lib/nimbox.rb
|
|
128
128
|
- lib/nimbox/client.rb
|
|
129
|
+
- lib/nimbox/resources/consultation_diagnostics.rb
|
|
129
130
|
- lib/nimbox/resources/consultations.rb
|
|
131
|
+
- lib/nimbox/resources/diagnostics.rb
|
|
130
132
|
- lib/nimbox/resources/people.rb
|
|
131
133
|
- lib/nimbox/version.rb
|
|
132
134
|
- nimbox_ruby.gemspec
|