lib/social_profile.rb in social_profile-0.2.2 vs lib/social_profile.rb in social_profile-0.3.0
- old
+ new
@@ -16,9 +16,10 @@
module People
autoload :Facebook, "social_profile/people/facebook"
autoload :Vkontakte, "social_profile/people/vkontakte"
autoload :Twitter, "social_profile/people/twitter"
+ autoload :Instagram, "social_profile/people/instagram"
end
def self.get(auth_hash, options = {})
provider = auth_hash["provider"].to_s.downcase if auth_hash && auth_hash["provider"]