Module: DeviantArt::Data

Included in:
Client
Defined in:
lib/deviantart/data.rb

Instance Method Summary collapse

Instance Method Details

#get_countriesObject

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_privacyObject

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_submissionObject

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_tosObject

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