lib/vidibus/service/mongoid.rb in vidibus-service-0.0.1 vs lib/vidibus/service/mongoid.rb in vidibus-service-0.0.3

- old
+ new

@@ -12,9 +12,10 @@ field :uuid field :function field :realm_uuid field :this, :type => Boolean + attr_accessor :nonce attr_encrypted :secret validates :url, :uri => {:protocol => [:http, :https], :accessible => false} validates :uuid, :uuid => true, :uniqueness => {:scope => :realm_uuid} validates :realm_uuid, :uuid => {:allow_blank => true}