ahub 0.1.16 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ahub/answer.rb +1 -1
- data/lib/ahub/group.rb +1 -0
- data/lib/ahub/question.rb +1 -0
- data/lib/ahub/space.rb +1 -0
- data/lib/ahub/topic.rb +4 -0
- data/lib/ahub/user.rb +1 -0
- data/lib/ahub/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51dec395f4122427774250b499935ffa9767a752
|
4
|
+
data.tar.gz: 6c246f6620f11f7d69295750e9cb368c0d2e51ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82ca7eba872c110c1048f44c2753ff41277b024e972f8219af51b63eae6650c849fb29025c8bdfd79407191d1ad65ac8d1e74af9f609e27805c9176fed7bd98a
|
7
|
+
data.tar.gz: 166d305ed495919e899ac1036b048ea0f96a868d8927cf0f45d5702aff1fe888018b8bf9f03d5037ef79128abd0345d3695c85006b9b9900b679608193a7a255
|
data/lib/ahub/answer.rb
CHANGED
@@ -6,7 +6,7 @@ module Ahub
|
|
6
6
|
def self.create(question_id:, body:, username:, password:)
|
7
7
|
url = "#{Ahub::DOMAIN}/services/v2/question/#{question_id}/answer.json"
|
8
8
|
|
9
|
-
make_post_call(url, {body: body}, headers(username: username, password: password))
|
9
|
+
make_post_call(url: url, payload: {body: body}, headers: headers(username: username, password: password))
|
10
10
|
end
|
11
11
|
|
12
12
|
attr_reader :body, :body_as_html, :author
|
data/lib/ahub/group.rb
CHANGED
data/lib/ahub/question.rb
CHANGED
data/lib/ahub/space.rb
CHANGED
data/lib/ahub/topic.rb
CHANGED
data/lib/ahub/user.rb
CHANGED
data/lib/ahub/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ahub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abel Martin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|