From d047ce00034d26a99927076c28679ce08fd69308 Mon Sep 17 00:00:00 2001 From: stve Date: Fri, 16 Oct 2015 16:49:24 -0400 Subject: [PATCH] add new settings to Twitter::Settings Twitter has added these new settings to the response: * allow_contributor_request * allow_dms_from, * allow_dm_groups_from --- lib/twitter/settings.rb | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/twitter/settings.rb b/lib/twitter/settings.rb index 74cf622c9..cd9f871be 100644 --- a/lib/twitter/settings.rb +++ b/lib/twitter/settings.rb @@ -7,9 +7,16 @@ class Settings < Twitter::Base # @return [String] attr_reader :language, :screen_name object_attr_reader :Place, :trend_location - predicate_attr_reader :always_use_https, :discoverable_by_email, + predicate_attr_reader :allow_contributor_request, + :allow_dm_groups_from, + :allow_dms_from, + :always_use_https, + :discoverable_by_email, :discoverable_by_mobile_phone, - :display_sensitive_media, :geo_enabled, :protected, - :show_all_inline_media, :use_cookie_personalization + :display_sensitive_media, + :geo_enabled, + :protected, + :show_all_inline_media, + :use_cookie_personalization end end