mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge branch 'josephholsten'
Conflicts: tests/compute/requests/bluebox/block_tests.rb
This commit is contained in:
commit
5cf271ff6c
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ module Fog
|
|||
end
|
||||
|
||||
def new(attributes = {})
|
||||
raise ArgumentError, "Initialization parameters must be an attributes hash, got #{attributes.inspect}" unless attributes.respond_to? :merge
|
||||
model.new(
|
||||
attributes.merge(
|
||||
:collection => self,
|
||||
|
|
Loading…
Add table
Reference in a new issue