advantage_quickbase 0.2 → 0.2.1

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 (2) hide show
  1. data/lib/quickbase.rb +4 -0
  2. metadata +1 -1
data/lib/quickbase.rb CHANGED
@@ -5,6 +5,8 @@ require 'csv'
5
5
 
6
6
  module AdvantageQuickbase
7
7
  class API
8
+ attr_accessor :ticket
9
+
8
10
  def initialize( domain, username, password, app_token=nil )
9
11
  @domain = domain
10
12
 
@@ -95,6 +97,8 @@ module AdvantageQuickbase
95
97
  def normalize_list( list )
96
98
  if list.is_a?( Array )
97
99
  list = list.map { |fid| fid.to_s }.join( '.' )
100
+ elsif list.is_a?( Hash )
101
+ list = list.map { |name, fid| fid.to_s }.join( '.' )
98
102
  end
99
103
  list
100
104
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: advantage_quickbase
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: