class Methods::GetLangs

Public Class Methods

run(api_key) click to toggle source
# File lib/methods/get_langs.rb, line 4
def self.run(api_key)
 Api.post(path,{key: api_key, format: 'json'})
end

Private Class Methods

path() click to toggle source
# File lib/methods/get_langs.rb, line 10
def self.path
 '/api/v1.5/tr.json/getLangs'
end