Module: DeviantArt::Data
- Included in:
- Client
- Defined in:
- lib/deviantart/data.rb
Instance Method Summary collapse
-
#get_countries ⇒ Object
Get a list of countries.
-
#get_privacy ⇒ Object
Returns the DeviantArt Privacy Policy.
-
#get_submission ⇒ Object
Returns the DeviantArt Submission Policy.
-
#get_tos ⇒ Object
Returns the DeviantArt Terms of Service.
Instance Method Details
#get_countries ⇒ Object
Get a list of countries
4 5 6 |
# File 'lib/deviantart/data.rb', line 4 def get_countries perform(:get, '/api/v1/oauth2/data/countries') end |
#get_privacy ⇒ Object
Returns the DeviantArt Privacy Policy
9 10 11 |
# File 'lib/deviantart/data.rb', line 9 def get_privacy perform(:get, '/api/v1/oauth2/data/privacy') end |
#get_submission ⇒ Object
Returns the DeviantArt Submission Policy
14 15 16 |
# File 'lib/deviantart/data.rb', line 14 def get_submission perform(:get, '/api/v1/oauth2/data/submission') end |
#get_tos ⇒ Object
Returns the DeviantArt Terms of Service
19 20 21 |
# File 'lib/deviantart/data.rb', line 19 def get_tos perform(:get, '/api/v1/oauth2/data/tos') end |