lib/social_profile.rb in social_profile-0.2.1 vs lib/social_profile.rb in social_profile-0.2.2

- old
+ new

@@ -9,10 +9,11 @@ autoload :Base, "social_profile/providers/base" autoload :Facebook, "social_profile/providers/facebook" autoload :Vkontakte, "social_profile/providers/vkontakte" autoload :Twitter, "social_profile/providers/twitter" autoload :Instagram, "social_profile/providers/instagram" + autoload :Odnoklassniki, "social_profile/providers/odnoklassniki" end module People autoload :Facebook, "social_profile/people/facebook" autoload :Vkontakte, "social_profile/people/vkontakte" @@ -25,9 +26,10 @@ klass = case provider when "facebook" then Providers::Facebook when "vkontakte" then Providers::Vkontakte when "twitter" then Providers::Twitter when "instagram" then Providers::Instagram + when "odnoklassniki" then Providers::Odnoklassniki else Providers::Base end klass.new(auth_hash, options) end