Module: DeviantArt::Client::Data
- Included in:
- DeviantArt::Client
- Defined in:
- lib/deviantart/client/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
11 12 13 |
# File 'lib/deviantart/client/data.rb', line 11 def get_countries perform(DeviantArt::Data::Countries, :get, '/api/v1/oauth2/data/countries') end |
#get_privacy ⇒ Object
Returns the DeviantArt Privacy Policy
16 17 18 |
# File 'lib/deviantart/client/data.rb', line 16 def get_privacy perform(DeviantArt::Data::Privacy, :get, '/api/v1/oauth2/data/privacy') end |
#get_submission ⇒ Object
Returns the DeviantArt Submission Policy
21 22 23 |
# File 'lib/deviantart/client/data.rb', line 21 def get_submission perform(DeviantArt::Data::Submission, :get, '/api/v1/oauth2/data/submission') end |
#get_tos ⇒ Object
Returns the DeviantArt Terms of Service
26 27 28 |
# File 'lib/deviantart/client/data.rb', line 26 def get_tos perform(DeviantArt::Data::TOS, :get, '/api/v1/oauth2/data/tos') end |