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

Instance Method Details

#privacy(options = {}) ⇒ String

Examples:

Twitter.privacy

Returns:

  • (String)

See Also:

Rate Limited?:

  • Yes

Requires Authentication?:

  • No



14
15
16
# File 'lib/twitter/client/legal.rb', line 14

def privacy(options={})
  get("/1/legal/privacy.json", options)['privacy']
end

#tos(options = {}) ⇒ String

Examples:

Twitter.tos

Returns:

  • (String)

See Also:

Rate Limited?:

  • Yes

Requires Authentication?:

  • No



26
27
28
# File 'lib/twitter/client/legal.rb', line 26

def tos(options={})
  get("/1/legal/tos.json", options)['tos']
end