lib/grendel/document.rb in grendel-ruby-0.1.2 vs lib/grendel/document.rb in grendel-ruby-0.1.3
- old
+ new
@@ -1,10 +1,10 @@
module Grendel
class Document
attr_accessor :user, :name, :uri, :data, :content_type
def initialize(user, params)
- params.symbolize_keys!
+ params = Mash.new(params)
@user = user
@client = user.client
@name = params[:name]
@data = params[:data]
@content_type = params[:content_type]
\ No newline at end of file