Sha256: d945d906de0a0b7862eb18a1b09feeaf5bea2d0a66dda09bf2c67335ce5866f2

Contents?: true

Size: 574 Bytes

Versions: 2

Compression:

Stored size: 574 Bytes

Contents

# encoding: utf-8

require 'bundler'
Bundler.setup :default

require 'crowdin-api'
require 'logger'
require 'pp'

puts Crowdin::API::VERSION

API_KEY = '79323cdcd6b4566154c4fb9c6bbd3be1'
PROJECT_ID = 'rubytestapi'

crowdin = Crowdin::API.new(:api_key => API_KEY, :project_id => PROJECT_ID)
crowdin.log = Logger.new $stderr

pp crowdin.project_info
crowdin.add_directory('test')

#file = { :dest => '/arrays.xml', :source => 'arrays.xml', :export_pattern => '/values-%three_letters_code%/%original_file_name%' }
#crowdin.add_file([] << file)
#crowdin.update_file([] << file)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
crowdin-api-0.2.0 examples/project_info.rb
crowdin-api-0.0.11 examples/project_info.rb