Module: Twitter::Client::Legal
- Included in:
- Twitter::Client
- Defined in:
- lib/twitter/client/legal.rb
Overview
Defines methods related to legal documents
Instance Method Summary collapse
-
#privacy(options = {}) ⇒ String
Returns Twitter's Privacy Policy.
-
#tos(options = {}) ⇒ String
Returns Twitter's Terms of Service.
Instance Method Details
#privacy(options = {}) ⇒ String
Returns Twitter's Privacy Policy
14 15 16 |
# File 'lib/twitter/client/legal.rb', line 14 def privacy(={}) get("/1/legal/privacy.json", )['privacy'] end |
#tos(options = {}) ⇒ String
Returns Twitter's Terms of Service
26 27 28 |
# File 'lib/twitter/client/legal.rb', line 26 def tos(={}) get("/1/legal/tos.json", )['tos'] end |