Skip to content

Commit

Permalink
add new settings to Twitter::Settings
Browse files Browse the repository at this point in the history
Twitter has added these new settings to the response:

* allow_contributor_request
* allow_dms_from,
* allow_dm_groups_from
  • Loading branch information
stve authored and sferik committed Jan 19, 2016
1 parent 8d379a4 commit d047ce0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions lib/twitter/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d047ce0

Please sign in to comment.