lib/fog/rackspace/models/queues/claim.rb in fog-maestrodev-1.18.0.20131121075022 vs lib/fog/rackspace/models/queues/claim.rb in fog-maestrodev-1.18.0.20131122203507
- old
+ new
@@ -10,9 +10,11 @@
attribute :grace
attribute :ttl
attribute :limit
attribute :messages
+ alias :id :identity
+
def save
if identity.nil?
create
else
update