redvine 0.0.4 → 0.0.5

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.
Files changed (3) hide show
  1. data/lib/redvine.rb +1 -0
  2. data/lib/redvine/version.rb +1 -1
  3. metadata +1 -1
data/lib/redvine.rb CHANGED
@@ -62,6 +62,7 @@ class Redvine
62
62
  def get_request_data(endpoint, records=true)
63
63
  response = HTTParty.get(@@baseUrl + endpoint, {headers: session_headers})
64
64
  if response.parsed_response['success'] == false
65
+ response.parsed_response['error'] = true
65
66
  return Hashie::Mash.new(response.parsed_response)
66
67
  else
67
68
  records ? Hashie::Mash.new(response.parsed_response).data.records : Hashie::Mash.new(response.parsed_response).data
@@ -1,3 +1,3 @@
1
1
  class Redvine
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redvine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: