lib/grendel/linked_document.rb in grendel-ruby-0.1.2 vs lib/grendel/linked_document.rb in grendel-ruby-0.1.3
- old
+ new
@@ -10,10 +10,10 @@
# :owner => {
# :id => owner id
# :uri => owner uri
# }
def initialize(linked_user, params)
- params.symbolize_keys!
+ params = Mash.new(params)
@owner = User.new(linked_user.client, params[:owner])
super(@owner, params)
@linked_user = linked_user
@name = params[:name]
@uri = params[:uri] ?
\ No newline at end of file