lib/social_profile/person.rb in social_profile-0.2.2 vs lib/social_profile/person.rb in social_profile-0.3.0
- old
+ new
@@ -15,9 +15,10 @@
klass = case provider.to_s
when "facebook" then People::Facebook
when "vkontakte" then People::Vkontakte
when "twitter" then People::Twitter
+ when "instagram" then People::Instagram
else Person
end
klass.new(uid, access_token, options)
end
\ No newline at end of file