Skip to content

Commit

Permalink
Merge branch 'hotfix/v0.0.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
genaromadrid committed Oct 3, 2016
2 parents a86b9c9 + 7e12770 commit 96af9c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions lib/coloredcoins/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ def query(method, path, payload = {})
response = RestClient::Request.execute(
method: method,
url: uri,
payload: payload,
ssl_version: 'SSLv23'
payload: payload.to_json,
ssl_version: 'SSLv23',
headers: {
content_type: :json,
accept: :json
}
)
JSON.parse(response, symbolize_names: true)
rescue RestClient::ExceptionWithResponse => e
Expand Down
2 changes: 1 addition & 1 deletion lib/coloredcoins/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Coloredcoins
VERSION = '0.0.3'.freeze
VERSION = '0.0.4'.freeze
end

0 comments on commit 96af9c1

Please sign in to comment.