phraseapp-ruby 1.0.16 → 1.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/phraseapp-ruby.rb +69 -69
  3. data/lib/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b96a2866c0bd6341989f54ca08d76907e51cc3a6
4
- data.tar.gz: b24a97f975e9a9e0050cc796a8e14f197296cc77
3
+ metadata.gz: 0de57bec8cf06be1a87f57f3654b355af1b6fdf3
4
+ data.tar.gz: cd7d42bbf55adb3bf7241bfbe49d757f2602d5d8
5
5
  SHA512:
6
- metadata.gz: ef657f1dc89433b4f0d94463caba8883cfadc4eb22303a30018aa2f31761bdfa0e336f425bb6040bdb9ad352d7095e8a3bb5ab6480ac575417260200f386443d
7
- data.tar.gz: c536926f691fcf971d212c5af982fa6844e26b5a6d83ab80a4d3c664827548af49763b4e2a857f0d85edd8829cb84e2da878d31923452071c0a259241686130f
6
+ metadata.gz: ba486bef6649b624782935a57eb6977f73c8719f82178b63b5d23c026f8765f159c5b45b6b27483aaf1c39d06372f387419ead35670079571fc63c1cdf84996d
7
+ data.tar.gz: a20ff4e9cd438495a0e4a3b83ec896a1412e85a0ff17ecc22202e6a2f8315bca5043a5ac69aaa2b85a4ca000f483da3f60e5e0fbcde65197f842ff2a51cc3304
@@ -1551,7 +1551,7 @@ end
1551
1551
  # PhraseApp::ResponseObjects::AuthorizationWithToken
1552
1552
  # err
1553
1553
  def self.authorization_create(params)
1554
- path = sprintf("/v2/authorizations")
1554
+ path = sprintf("/api/v2/authorizations")
1555
1555
  data_hash = {}
1556
1556
  post_body = nil
1557
1557
 
@@ -1584,7 +1584,7 @@ end
1584
1584
  # == Returns:
1585
1585
  # err
1586
1586
  def self.authorization_delete(id)
1587
- path = sprintf("/v2/authorizations/%s", id)
1587
+ path = sprintf("/api/v2/authorizations/%s", id)
1588
1588
  data_hash = {}
1589
1589
  post_body = nil
1590
1590
 
@@ -1607,7 +1607,7 @@ end
1607
1607
  # PhraseApp::ResponseObjects::Authorization
1608
1608
  # err
1609
1609
  def self.authorization_show(id)
1610
- path = sprintf("/v2/authorizations/%s", id)
1610
+ path = sprintf("/api/v2/authorizations/%s", id)
1611
1611
  data_hash = {}
1612
1612
  post_body = nil
1613
1613
 
@@ -1632,7 +1632,7 @@ end
1632
1632
  # PhraseApp::ResponseObjects::Authorization
1633
1633
  # err
1634
1634
  def self.authorization_update(id, params)
1635
- path = sprintf("/v2/authorizations/%s", id)
1635
+ path = sprintf("/api/v2/authorizations/%s", id)
1636
1636
  data_hash = {}
1637
1637
  post_body = nil
1638
1638
 
@@ -1664,7 +1664,7 @@ end
1664
1664
  # PhraseApp::ResponseObjects::Authorization
1665
1665
  # err
1666
1666
  def self.authorizations_list(page, per_page)
1667
- path = sprintf("/v2/authorizations")
1667
+ path = sprintf("/api/v2/authorizations")
1668
1668
  data_hash = {}
1669
1669
  post_body = nil
1670
1670
 
@@ -1691,7 +1691,7 @@ end
1691
1691
  # PhraseApp::ResponseObjects::Comment
1692
1692
  # err
1693
1693
  def self.comment_create(project_id, key_id, params)
1694
- path = sprintf("/v2/projects/%s/keys/%s/comments", project_id, key_id)
1694
+ path = sprintf("/api/v2/projects/%s/keys/%s/comments", project_id, key_id)
1695
1695
  data_hash = {}
1696
1696
  post_body = nil
1697
1697
 
@@ -1728,7 +1728,7 @@ end
1728
1728
  # == Returns:
1729
1729
  # err
1730
1730
  def self.comment_delete(project_id, key_id, id)
1731
- path = sprintf("/v2/projects/%s/keys/%s/comments/%s", project_id, key_id, id)
1731
+ path = sprintf("/api/v2/projects/%s/keys/%s/comments/%s", project_id, key_id, id)
1732
1732
  data_hash = {}
1733
1733
  post_body = nil
1734
1734
 
@@ -1754,7 +1754,7 @@ end
1754
1754
  # == Returns:
1755
1755
  # err
1756
1756
  def self.comment_mark_check(project_id, key_id, id)
1757
- path = sprintf("/v2/projects/%s/keys/%s/comments/%s/read", project_id, key_id, id)
1757
+ path = sprintf("/api/v2/projects/%s/keys/%s/comments/%s/read", project_id, key_id, id)
1758
1758
  data_hash = {}
1759
1759
  post_body = nil
1760
1760
 
@@ -1780,7 +1780,7 @@ end
1780
1780
  # == Returns:
1781
1781
  # err
1782
1782
  def self.comment_mark_read(project_id, key_id, id)
1783
- path = sprintf("/v2/projects/%s/keys/%s/comments/%s/read", project_id, key_id, id)
1783
+ path = sprintf("/api/v2/projects/%s/keys/%s/comments/%s/read", project_id, key_id, id)
1784
1784
  data_hash = {}
1785
1785
  post_body = nil
1786
1786
 
@@ -1806,7 +1806,7 @@ end
1806
1806
  # == Returns:
1807
1807
  # err
1808
1808
  def self.comment_mark_unread(project_id, key_id, id)
1809
- path = sprintf("/v2/projects/%s/keys/%s/comments/%s/read", project_id, key_id, id)
1809
+ path = sprintf("/api/v2/projects/%s/keys/%s/comments/%s/read", project_id, key_id, id)
1810
1810
  data_hash = {}
1811
1811
  post_body = nil
1812
1812
 
@@ -1833,7 +1833,7 @@ end
1833
1833
  # PhraseApp::ResponseObjects::Comment
1834
1834
  # err
1835
1835
  def self.comment_show(project_id, key_id, id)
1836
- path = sprintf("/v2/projects/%s/keys/%s/comments/%s", project_id, key_id, id)
1836
+ path = sprintf("/api/v2/projects/%s/keys/%s/comments/%s", project_id, key_id, id)
1837
1837
  data_hash = {}
1838
1838
  post_body = nil
1839
1839
 
@@ -1862,7 +1862,7 @@ end
1862
1862
  # PhraseApp::ResponseObjects::Comment
1863
1863
  # err
1864
1864
  def self.comment_update(project_id, key_id, id, params)
1865
- path = sprintf("/v2/projects/%s/keys/%s/comments/%s", project_id, key_id, id)
1865
+ path = sprintf("/api/v2/projects/%s/keys/%s/comments/%s", project_id, key_id, id)
1866
1866
  data_hash = {}
1867
1867
  post_body = nil
1868
1868
 
@@ -1898,7 +1898,7 @@ end
1898
1898
  # PhraseApp::ResponseObjects::Comment
1899
1899
  # err
1900
1900
  def self.comments_list(project_id, key_id, page, per_page)
1901
- path = sprintf("/v2/projects/%s/keys/%s/comments", project_id, key_id)
1901
+ path = sprintf("/api/v2/projects/%s/keys/%s/comments", project_id, key_id)
1902
1902
  data_hash = {}
1903
1903
  post_body = nil
1904
1904
 
@@ -1923,7 +1923,7 @@ end
1923
1923
  # PhraseApp::ResponseObjects::BlacklistedKey
1924
1924
  # err
1925
1925
  def self.exclude_rule_create(project_id, params)
1926
- path = sprintf("/v2/projects/%s/blacklisted_keys", project_id)
1926
+ path = sprintf("/api/v2/projects/%s/blacklisted_keys", project_id)
1927
1927
  data_hash = {}
1928
1928
  post_body = nil
1929
1929
 
@@ -1958,7 +1958,7 @@ end
1958
1958
  # == Returns:
1959
1959
  # err
1960
1960
  def self.exclude_rule_delete(project_id, id)
1961
- path = sprintf("/v2/projects/%s/blacklisted_keys/%s", project_id, id)
1961
+ path = sprintf("/api/v2/projects/%s/blacklisted_keys/%s", project_id, id)
1962
1962
  data_hash = {}
1963
1963
  post_body = nil
1964
1964
 
@@ -1983,7 +1983,7 @@ end
1983
1983
  # PhraseApp::ResponseObjects::BlacklistedKey
1984
1984
  # err
1985
1985
  def self.exclude_rule_show(project_id, id)
1986
- path = sprintf("/v2/projects/%s/blacklisted_keys/%s", project_id, id)
1986
+ path = sprintf("/api/v2/projects/%s/blacklisted_keys/%s", project_id, id)
1987
1987
  data_hash = {}
1988
1988
  post_body = nil
1989
1989
 
@@ -2010,7 +2010,7 @@ end
2010
2010
  # PhraseApp::ResponseObjects::BlacklistedKey
2011
2011
  # err
2012
2012
  def self.exclude_rule_update(project_id, id, params)
2013
- path = sprintf("/v2/projects/%s/blacklisted_keys/%s", project_id, id)
2013
+ path = sprintf("/api/v2/projects/%s/blacklisted_keys/%s", project_id, id)
2014
2014
  data_hash = {}
2015
2015
  post_body = nil
2016
2016
 
@@ -2044,7 +2044,7 @@ end
2044
2044
  # PhraseApp::ResponseObjects::BlacklistedKey
2045
2045
  # err
2046
2046
  def self.exclude_rules_index(project_id, page, per_page)
2047
- path = sprintf("/v2/projects/%s/blacklisted_keys", project_id)
2047
+ path = sprintf("/api/v2/projects/%s/blacklisted_keys", project_id)
2048
2048
  data_hash = {}
2049
2049
  post_body = nil
2050
2050
 
@@ -2065,7 +2065,7 @@ end
2065
2065
  # PhraseApp::ResponseObjects::Format
2066
2066
  # err
2067
2067
  def self.formats_list(page, per_page)
2068
- path = sprintf("/v2/formats")
2068
+ path = sprintf("/api/v2/formats")
2069
2069
  data_hash = {}
2070
2070
  post_body = nil
2071
2071
 
@@ -2090,7 +2090,7 @@ end
2090
2090
  # PhraseApp::ResponseObjects::TranslationKeyDetails
2091
2091
  # err
2092
2092
  def self.key_create(project_id, params)
2093
- path = sprintf("/v2/projects/%s/keys", project_id)
2093
+ path = sprintf("/api/v2/projects/%s/keys", project_id)
2094
2094
  data_hash = {}
2095
2095
  post_body = nil
2096
2096
 
@@ -2183,7 +2183,7 @@ end
2183
2183
  # == Returns:
2184
2184
  # err
2185
2185
  def self.key_delete(project_id, id)
2186
- path = sprintf("/v2/projects/%s/keys/%s", project_id, id)
2186
+ path = sprintf("/api/v2/projects/%s/keys/%s", project_id, id)
2187
2187
  data_hash = {}
2188
2188
  post_body = nil
2189
2189
 
@@ -2208,7 +2208,7 @@ end
2208
2208
  # PhraseApp::ResponseObjects::TranslationKeyDetails
2209
2209
  # err
2210
2210
  def self.key_show(project_id, id)
2211
- path = sprintf("/v2/projects/%s/keys/%s", project_id, id)
2211
+ path = sprintf("/api/v2/projects/%s/keys/%s", project_id, id)
2212
2212
  data_hash = {}
2213
2213
  post_body = nil
2214
2214
 
@@ -2235,7 +2235,7 @@ end
2235
2235
  # PhraseApp::ResponseObjects::TranslationKeyDetails
2236
2236
  # err
2237
2237
  def self.key_update(project_id, id, params)
2238
- path = sprintf("/v2/projects/%s/keys/%s", project_id, id)
2238
+ path = sprintf("/api/v2/projects/%s/keys/%s", project_id, id)
2239
2239
  data_hash = {}
2240
2240
  post_body = nil
2241
2241
 
@@ -2328,7 +2328,7 @@ end
2328
2328
  # == Returns:
2329
2329
  # err
2330
2330
  def self.keys_delete(project_id, params)
2331
- path = sprintf("/v2/projects/%s/keys", project_id)
2331
+ path = sprintf("/api/v2/projects/%s/keys", project_id)
2332
2332
  data_hash = {}
2333
2333
  post_body = nil
2334
2334
 
@@ -2364,7 +2364,7 @@ end
2364
2364
  # PhraseApp::ResponseObjects::TranslationKey
2365
2365
  # err
2366
2366
  def self.keys_list(project_id, page, per_page, params)
2367
- path = sprintf("/v2/projects/%s/keys", project_id)
2367
+ path = sprintf("/api/v2/projects/%s/keys", project_id)
2368
2368
  data_hash = {}
2369
2369
  post_body = nil
2370
2370
 
@@ -2400,7 +2400,7 @@ end
2400
2400
  # PhraseApp::ResponseObjects::TranslationKey
2401
2401
  # err
2402
2402
  def self.keys_search(project_id, page, per_page, params)
2403
- path = sprintf("/v2/projects/%s/keys/search", project_id)
2403
+ path = sprintf("/api/v2/projects/%s/keys/search", project_id)
2404
2404
  data_hash = {}
2405
2405
  post_body = nil
2406
2406
 
@@ -2435,7 +2435,7 @@ end
2435
2435
  # == Returns:
2436
2436
  # err
2437
2437
  def self.keys_tag(project_id, params)
2438
- path = sprintf("/v2/projects/%s/keys/tag", project_id)
2438
+ path = sprintf("/api/v2/projects/%s/keys/tag", project_id)
2439
2439
  data_hash = {}
2440
2440
  post_body = nil
2441
2441
 
@@ -2470,7 +2470,7 @@ end
2470
2470
  # == Returns:
2471
2471
  # err
2472
2472
  def self.keys_untag(project_id, params)
2473
- path = sprintf("/v2/projects/%s/keys/tag", project_id)
2473
+ path = sprintf("/api/v2/projects/%s/keys/tag", project_id)
2474
2474
  data_hash = {}
2475
2475
  post_body = nil
2476
2476
 
@@ -2506,7 +2506,7 @@ end
2506
2506
  # PhraseApp::ResponseObjects::LocaleDetails
2507
2507
  # err
2508
2508
  def self.locale_create(project_id, params)
2509
- path = sprintf("/v2/projects/%s/locales", project_id)
2509
+ path = sprintf("/api/v2/projects/%s/locales", project_id)
2510
2510
  data_hash = {}
2511
2511
  post_body = nil
2512
2512
 
@@ -2541,7 +2541,7 @@ end
2541
2541
  # == Returns:
2542
2542
  # err
2543
2543
  def self.locale_delete(project_id, id)
2544
- path = sprintf("/v2/projects/%s/locales/%s", project_id, id)
2544
+ path = sprintf("/api/v2/projects/%s/locales/%s", project_id, id)
2545
2545
  data_hash = {}
2546
2546
  post_body = nil
2547
2547
 
@@ -2567,7 +2567,7 @@ end
2567
2567
  # == Returns:
2568
2568
  # err
2569
2569
  def self.locale_download(project_id, id, params)
2570
- path = sprintf("/v2/projects/%s/locales/%s/download", project_id, id)
2570
+ path = sprintf("/api/v2/projects/%s/locales/%s/download", project_id, id)
2571
2571
  data_hash = {}
2572
2572
  post_body = nil
2573
2573
 
@@ -2603,7 +2603,7 @@ end
2603
2603
  # PhraseApp::ResponseObjects::LocaleDetails
2604
2604
  # err
2605
2605
  def self.locale_show(project_id, id)
2606
- path = sprintf("/v2/projects/%s/locales/%s", project_id, id)
2606
+ path = sprintf("/api/v2/projects/%s/locales/%s", project_id, id)
2607
2607
  data_hash = {}
2608
2608
  post_body = nil
2609
2609
 
@@ -2630,7 +2630,7 @@ end
2630
2630
  # PhraseApp::ResponseObjects::LocaleDetails
2631
2631
  # err
2632
2632
  def self.locale_update(project_id, id, params)
2633
- path = sprintf("/v2/projects/%s/locales/%s", project_id, id)
2633
+ path = sprintf("/api/v2/projects/%s/locales/%s", project_id, id)
2634
2634
  data_hash = {}
2635
2635
  post_body = nil
2636
2636
 
@@ -2664,7 +2664,7 @@ end
2664
2664
  # PhraseApp::ResponseObjects::Locale
2665
2665
  # err
2666
2666
  def self.locales_list(project_id, page, per_page)
2667
- path = sprintf("/v2/projects/%s/locales", project_id)
2667
+ path = sprintf("/api/v2/projects/%s/locales", project_id)
2668
2668
  data_hash = {}
2669
2669
  post_body = nil
2670
2670
 
@@ -2689,7 +2689,7 @@ end
2689
2689
  # PhraseApp::ResponseObjects::TranslationOrder
2690
2690
  # err
2691
2691
  def self.order_confirm(project_id, id)
2692
- path = sprintf("/v2/projects/%s/orders/%s/confirm", project_id, id)
2692
+ path = sprintf("/api/v2/projects/%s/orders/%s/confirm", project_id, id)
2693
2693
  data_hash = {}
2694
2694
  post_body = nil
2695
2695
 
@@ -2714,7 +2714,7 @@ end
2714
2714
  # PhraseApp::ResponseObjects::TranslationOrder
2715
2715
  # err
2716
2716
  def self.order_create(project_id, params)
2717
- path = sprintf("/v2/projects/%s/orders", project_id)
2717
+ path = sprintf("/api/v2/projects/%s/orders", project_id)
2718
2718
  data_hash = {}
2719
2719
  post_body = nil
2720
2720
 
@@ -2749,7 +2749,7 @@ end
2749
2749
  # == Returns:
2750
2750
  # err
2751
2751
  def self.order_delete(project_id, id)
2752
- path = sprintf("/v2/projects/%s/orders/%s", project_id, id)
2752
+ path = sprintf("/api/v2/projects/%s/orders/%s", project_id, id)
2753
2753
  data_hash = {}
2754
2754
  post_body = nil
2755
2755
 
@@ -2774,7 +2774,7 @@ end
2774
2774
  # PhraseApp::ResponseObjects::TranslationOrder
2775
2775
  # err
2776
2776
  def self.order_show(project_id, id)
2777
- path = sprintf("/v2/projects/%s/orders/%s", project_id, id)
2777
+ path = sprintf("/api/v2/projects/%s/orders/%s", project_id, id)
2778
2778
  data_hash = {}
2779
2779
  post_body = nil
2780
2780
 
@@ -2797,7 +2797,7 @@ end
2797
2797
  # PhraseApp::ResponseObjects::TranslationOrder
2798
2798
  # err
2799
2799
  def self.orders_list(project_id, page, per_page)
2800
- path = sprintf("/v2/projects/%s/orders", project_id)
2800
+ path = sprintf("/api/v2/projects/%s/orders", project_id)
2801
2801
  data_hash = {}
2802
2802
  post_body = nil
2803
2803
 
@@ -2820,7 +2820,7 @@ end
2820
2820
  # PhraseApp::ResponseObjects::ProjectDetails
2821
2821
  # err
2822
2822
  def self.project_create(params)
2823
- path = sprintf("/v2/projects")
2823
+ path = sprintf("/api/v2/projects")
2824
2824
  data_hash = {}
2825
2825
  post_body = nil
2826
2826
 
@@ -2853,7 +2853,7 @@ end
2853
2853
  # == Returns:
2854
2854
  # err
2855
2855
  def self.project_delete(id)
2856
- path = sprintf("/v2/projects/%s", id)
2856
+ path = sprintf("/api/v2/projects/%s", id)
2857
2857
  data_hash = {}
2858
2858
  post_body = nil
2859
2859
 
@@ -2876,7 +2876,7 @@ end
2876
2876
  # PhraseApp::ResponseObjects::ProjectDetails
2877
2877
  # err
2878
2878
  def self.project_show(id)
2879
- path = sprintf("/v2/projects/%s", id)
2879
+ path = sprintf("/api/v2/projects/%s", id)
2880
2880
  data_hash = {}
2881
2881
  post_body = nil
2882
2882
 
@@ -2901,7 +2901,7 @@ end
2901
2901
  # PhraseApp::ResponseObjects::ProjectDetails
2902
2902
  # err
2903
2903
  def self.project_update(id, params)
2904
- path = sprintf("/v2/projects/%s", id)
2904
+ path = sprintf("/api/v2/projects/%s", id)
2905
2905
  data_hash = {}
2906
2906
  post_body = nil
2907
2907
 
@@ -2933,7 +2933,7 @@ end
2933
2933
  # PhraseApp::ResponseObjects::Project
2934
2934
  # err
2935
2935
  def self.projects_list(page, per_page)
2936
- path = sprintf("/v2/projects")
2936
+ path = sprintf("/api/v2/projects")
2937
2937
  data_hash = {}
2938
2938
  post_body = nil
2939
2939
 
@@ -2954,7 +2954,7 @@ end
2954
2954
  # PhraseApp::ResponseObjects::User
2955
2955
  # err
2956
2956
  def self.show_user()
2957
- path = sprintf("/v2/user")
2957
+ path = sprintf("/api/v2/user")
2958
2958
  data_hash = {}
2959
2959
  post_body = nil
2960
2960
 
@@ -2979,7 +2979,7 @@ end
2979
2979
  # PhraseApp::ResponseObjects::StyleguideDetails
2980
2980
  # err
2981
2981
  def self.styleguide_create(project_id, params)
2982
- path = sprintf("/v2/projects/%s/styleguides", project_id)
2982
+ path = sprintf("/api/v2/projects/%s/styleguides", project_id)
2983
2983
  data_hash = {}
2984
2984
  post_body = nil
2985
2985
 
@@ -3014,7 +3014,7 @@ end
3014
3014
  # == Returns:
3015
3015
  # err
3016
3016
  def self.styleguide_delete(project_id, id)
3017
- path = sprintf("/v2/projects/%s/styleguides/%s", project_id, id)
3017
+ path = sprintf("/api/v2/projects/%s/styleguides/%s", project_id, id)
3018
3018
  data_hash = {}
3019
3019
  post_body = nil
3020
3020
 
@@ -3039,7 +3039,7 @@ end
3039
3039
  # PhraseApp::ResponseObjects::StyleguideDetails
3040
3040
  # err
3041
3041
  def self.styleguide_show(project_id, id)
3042
- path = sprintf("/v2/projects/%s/styleguides/%s", project_id, id)
3042
+ path = sprintf("/api/v2/projects/%s/styleguides/%s", project_id, id)
3043
3043
  data_hash = {}
3044
3044
  post_body = nil
3045
3045
 
@@ -3066,7 +3066,7 @@ end
3066
3066
  # PhraseApp::ResponseObjects::StyleguideDetails
3067
3067
  # err
3068
3068
  def self.styleguide_update(project_id, id, params)
3069
- path = sprintf("/v2/projects/%s/styleguides/%s", project_id, id)
3069
+ path = sprintf("/api/v2/projects/%s/styleguides/%s", project_id, id)
3070
3070
  data_hash = {}
3071
3071
  post_body = nil
3072
3072
 
@@ -3100,7 +3100,7 @@ end
3100
3100
  # PhraseApp::ResponseObjects::Styleguide
3101
3101
  # err
3102
3102
  def self.styleguides_list(project_id, page, per_page)
3103
- path = sprintf("/v2/projects/%s/styleguides", project_id)
3103
+ path = sprintf("/api/v2/projects/%s/styleguides", project_id)
3104
3104
  data_hash = {}
3105
3105
  post_body = nil
3106
3106
 
@@ -3125,7 +3125,7 @@ end
3125
3125
  # PhraseApp::ResponseObjects::TagWithStats
3126
3126
  # err
3127
3127
  def self.tag_create(project_id, params)
3128
- path = sprintf("/v2/projects/%s/tags", project_id)
3128
+ path = sprintf("/api/v2/projects/%s/tags", project_id)
3129
3129
  data_hash = {}
3130
3130
  post_body = nil
3131
3131
 
@@ -3160,7 +3160,7 @@ end
3160
3160
  # == Returns:
3161
3161
  # err
3162
3162
  def self.tag_delete(project_id, name)
3163
- path = sprintf("/v2/projects/%s/tags/%s", project_id, name)
3163
+ path = sprintf("/api/v2/projects/%s/tags/%s", project_id, name)
3164
3164
  data_hash = {}
3165
3165
  post_body = nil
3166
3166
 
@@ -3185,7 +3185,7 @@ end
3185
3185
  # PhraseApp::ResponseObjects::TagWithStats
3186
3186
  # err
3187
3187
  def self.tag_show(project_id, name)
3188
- path = sprintf("/v2/projects/%s/tags/%s", project_id, name)
3188
+ path = sprintf("/api/v2/projects/%s/tags/%s", project_id, name)
3189
3189
  data_hash = {}
3190
3190
  post_body = nil
3191
3191
 
@@ -3208,7 +3208,7 @@ end
3208
3208
  # PhraseApp::ResponseObjects::Tag
3209
3209
  # err
3210
3210
  def self.tags_list(project_id, page, per_page)
3211
- path = sprintf("/v2/projects/%s/tags", project_id)
3211
+ path = sprintf("/api/v2/projects/%s/tags", project_id)
3212
3212
  data_hash = {}
3213
3213
  post_body = nil
3214
3214
 
@@ -3233,7 +3233,7 @@ end
3233
3233
  # PhraseApp::ResponseObjects::TranslationDetails
3234
3234
  # err
3235
3235
  def self.translation_create(project_id, params)
3236
- path = sprintf("/v2/projects/%s/translations", project_id)
3236
+ path = sprintf("/api/v2/projects/%s/translations", project_id)
3237
3237
  data_hash = {}
3238
3238
  post_body = nil
3239
3239
 
@@ -3269,7 +3269,7 @@ end
3269
3269
  # PhraseApp::ResponseObjects::TranslationDetails
3270
3270
  # err
3271
3271
  def self.translation_show(project_id, id)
3272
- path = sprintf("/v2/projects/%s/translations/%s", project_id, id)
3272
+ path = sprintf("/api/v2/projects/%s/translations/%s", project_id, id)
3273
3273
  data_hash = {}
3274
3274
  post_body = nil
3275
3275
 
@@ -3296,7 +3296,7 @@ end
3296
3296
  # PhraseApp::ResponseObjects::TranslationDetails
3297
3297
  # err
3298
3298
  def self.translation_update(project_id, id, params)
3299
- path = sprintf("/v2/projects/%s/translations/%s", project_id, id)
3299
+ path = sprintf("/api/v2/projects/%s/translations/%s", project_id, id)
3300
3300
  data_hash = {}
3301
3301
  post_body = nil
3302
3302
 
@@ -3334,7 +3334,7 @@ end
3334
3334
  # PhraseApp::ResponseObjects::Translation
3335
3335
  # err
3336
3336
  def self.translations_by_key(project_id, key_id, page, per_page, params)
3337
- path = sprintf("/v2/projects/%s/keys/%s/translations", project_id, key_id)
3337
+ path = sprintf("/api/v2/projects/%s/keys/%s/translations", project_id, key_id)
3338
3338
  data_hash = {}
3339
3339
  post_body = nil
3340
3340
 
@@ -3372,7 +3372,7 @@ end
3372
3372
  # PhraseApp::ResponseObjects::Translation
3373
3373
  # err
3374
3374
  def self.translations_by_locale(project_id, locale_id, page, per_page, params)
3375
- path = sprintf("/v2/projects/%s/locales/%s/translations", project_id, locale_id)
3375
+ path = sprintf("/api/v2/projects/%s/locales/%s/translations", project_id, locale_id)
3376
3376
  data_hash = {}
3377
3377
  post_body = nil
3378
3378
 
@@ -3408,7 +3408,7 @@ end
3408
3408
  # PhraseApp::ResponseObjects::AffectedCount
3409
3409
  # err
3410
3410
  def self.translations_exclude(project_id, params)
3411
- path = sprintf("/v2/projects/%s/translations/exclude", project_id)
3411
+ path = sprintf("/api/v2/projects/%s/translations/exclude", project_id)
3412
3412
  data_hash = {}
3413
3413
  post_body = nil
3414
3414
 
@@ -3444,7 +3444,7 @@ end
3444
3444
  # PhraseApp::ResponseObjects::AffectedCount
3445
3445
  # err
3446
3446
  def self.translations_include(project_id, params)
3447
- path = sprintf("/v2/projects/%s/translations/include", project_id)
3447
+ path = sprintf("/api/v2/projects/%s/translations/include", project_id)
3448
3448
  data_hash = {}
3449
3449
  post_body = nil
3450
3450
 
@@ -3480,7 +3480,7 @@ end
3480
3480
  # PhraseApp::ResponseObjects::Translation
3481
3481
  # err
3482
3482
  def self.translations_list(project_id, page, per_page, params)
3483
- path = sprintf("/v2/projects/%s/translations", project_id)
3483
+ path = sprintf("/api/v2/projects/%s/translations", project_id)
3484
3484
  data_hash = {}
3485
3485
  post_body = nil
3486
3486
 
@@ -3516,7 +3516,7 @@ end
3516
3516
  # PhraseApp::ResponseObjects::Translation
3517
3517
  # err
3518
3518
  def self.translations_search(project_id, page, per_page, params)
3519
- path = sprintf("/v2/projects/%s/translations/search", project_id)
3519
+ path = sprintf("/api/v2/projects/%s/translations/search", project_id)
3520
3520
  data_hash = {}
3521
3521
  post_body = nil
3522
3522
 
@@ -3552,7 +3552,7 @@ end
3552
3552
  # PhraseApp::ResponseObjects::AffectedCount
3553
3553
  # err
3554
3554
  def self.translations_unverify(project_id, params)
3555
- path = sprintf("/v2/projects/%s/translations/unverify", project_id)
3555
+ path = sprintf("/api/v2/projects/%s/translations/unverify", project_id)
3556
3556
  data_hash = {}
3557
3557
  post_body = nil
3558
3558
 
@@ -3588,7 +3588,7 @@ end
3588
3588
  # PhraseApp::ResponseObjects::AffectedCount
3589
3589
  # err
3590
3590
  def self.translations_verify(project_id, params)
3591
- path = sprintf("/v2/projects/%s/translations/verify", project_id)
3591
+ path = sprintf("/api/v2/projects/%s/translations/verify", project_id)
3592
3592
  data_hash = {}
3593
3593
  post_body = nil
3594
3594
 
@@ -3624,7 +3624,7 @@ end
3624
3624
  # PhraseApp::ResponseObjects::LocaleFileImportWithSummary
3625
3625
  # err
3626
3626
  def self.upload_create(project_id, params)
3627
- path = sprintf("/v2/projects/%s/uploads", project_id)
3627
+ path = sprintf("/api/v2/projects/%s/uploads", project_id)
3628
3628
  data_hash = {}
3629
3629
  post_body = nil
3630
3630
 
@@ -3700,7 +3700,7 @@ end
3700
3700
  # PhraseApp::ResponseObjects::LocaleFileImportWithSummary
3701
3701
  # err
3702
3702
  def self.upload_show(project_id, id)
3703
- path = sprintf("/v2/projects/%s/uploads/%s", project_id, id)
3703
+ path = sprintf("/api/v2/projects/%s/uploads/%s", project_id, id)
3704
3704
  data_hash = {}
3705
3705
  post_body = nil
3706
3706
 
@@ -3727,7 +3727,7 @@ end
3727
3727
  # PhraseApp::ResponseObjects::TranslationVersionWithUser
3728
3728
  # err
3729
3729
  def self.version_show(project_id, translation_id, id)
3730
- path = sprintf("/v2/projects/%s/translations/%s/versions/%s", project_id, translation_id, id)
3730
+ path = sprintf("/api/v2/projects/%s/translations/%s/versions/%s", project_id, translation_id, id)
3731
3731
  data_hash = {}
3732
3732
  post_body = nil
3733
3733
 
@@ -3752,7 +3752,7 @@ end
3752
3752
  # PhraseApp::ResponseObjects::TranslationVersion
3753
3753
  # err
3754
3754
  def self.versions_list(project_id, translation_id, page, per_page)
3755
- path = sprintf("/v2/projects/%s/translations/%s/versions", project_id, translation_id)
3755
+ path = sprintf("/api/v2/projects/%s/translations/%s/versions", project_id, translation_id)
3756
3756
  data_hash = {}
3757
3757
  post_body = nil
3758
3758
 
@@ -1,3 +1,3 @@
1
1
  module PhraseApp
2
- VERSION = '1.0.16'
2
+ VERSION = '1.0.17'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phraseapp-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.16
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - PhraseApp