lib/json/exposure.rb in absmartly-sdk-0.1.2 vs lib/json/exposure.rb in absmartly-sdk-1.0.5
- old
+ new
@@ -6,10 +6,10 @@
def initialize(id = nil, name = nil, unit = nil, variant = nil,
exposed_at = nil, assigned = nil, eligible = nil,
overridden = nil, full_on = nil, custom = nil,
audience_mismatch = nil)
- @id = id
+ @id = id || 0
@name = name
@unit = unit
@variant = variant
@exposed_at = exposed_at
@assigned = assigned