Permalink
Browse files

Fix oembed spec

  • Loading branch information...
1 parent 3120089 commit b27346a013477b5833242cf6706b48fc084f32e4 @shayne shayne committed Feb 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/instagram/response.rb
@@ -1,7 +1,7 @@
module Instagram
module Response
def self.create( response_hash )
- data = response_hash.data.dup rescue Hashie::Mash.new
+ data = response_hash.data.dup rescue response_hash
data.extend( self )
data.instance_exec do
@pagination = response_hash.pagination

0 comments on commit b27346a

Please sign in to comment.