app/models/hubstats/label.rb in hubstats-0.3.0 vs app/models/hubstats/label.rb in hubstats-0.3.1
- old
+ new
@@ -19,10 +19,10 @@
def self.first_or_create(label)
if exists = Hubstats::Label.where(name: label[:name]).first
return exists
else
- Hubstats::Label.new(name: label[:name], url: label[:url], color: label[:color])
+ Label.new(name: label[:name], url: label[:url], color: label[:color])
end
end
end
end