module DeviantArt::Client::Data

Public Instance Methods

get_countries() click to toggle source

Get a list of countries

# File lib/deviantart/client/data.rb, line 11
def get_countries
  perform(DeviantArt::Data::Countries, :get, '/api/v1/oauth2/data/countries')
end
get_privacy() click to toggle source

Returns the DeviantArt Privacy Policy

# File lib/deviantart/client/data.rb, line 16
def get_privacy
  perform(DeviantArt::Data::Privacy, :get, '/api/v1/oauth2/data/privacy')
end
get_submission() click to toggle source

Returns the DeviantArt Submission Policy

# File lib/deviantart/client/data.rb, line 21
def get_submission
  perform(DeviantArt::Data::Submission, :get, '/api/v1/oauth2/data/submission')
end
get_tos() click to toggle source

Returns the DeviantArt Terms of Service

# File lib/deviantart/client/data.rb, line 26
def get_tos
  perform(DeviantArt::Data::TOS, :get, '/api/v1/oauth2/data/tos')
end