spohlenz-freshbooksrb 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/freshbooks/base.rb +1 -1
  2. metadata +1 -1
@@ -119,7 +119,7 @@ module FreshBooks
119
119
  def self.convert_to_array_of_objects(result)
120
120
  if result && result.is_a?(Array)
121
121
  result.map { |p| new(p) }
122
- elsif list
122
+ elsif result
123
123
  [new(result)]
124
124
  else
125
125
  []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spohlenz-freshbooksrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Pohlenz