Method: Xcrowdin::Client#initialize
- Defined in:
- lib/xcrowdin/client.rb
#initialize(api_key, project_id, crowdin_path, xcode_project, langs) ⇒ Client
Returns a new instance of Client.
9 10 11 12 13 14 15 16 |
# File 'lib/xcrowdin/client.rb', line 9 def initialize(api_key, project_id, crowdin_path, xcode_project, langs) @api_key = api_key @project_id = project_id @crowdin_path = crowdin_path @xcode_project = xcode_project @langs = langs @crowdin = CrowdinClient.new(@api_key, @project_id, @crowdin_path) end |