flowcommerce 0.2.28 → 0.2.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 704e1da0aaf9c48ff6c2d9ab1b46575b5ada172a
4
- data.tar.gz: 4c6f357bf6e7d9e6f649ee357969f14a71b1a8f7
3
+ metadata.gz: 8c5cbd7a7867ea30dfb72199e21d5352aa6a2279
4
+ data.tar.gz: 0dfe005cf234e0fcb5c81380031bba06f02558be
5
5
  SHA512:
6
- metadata.gz: 7d069a977d6b7320fd01f974aa7a38ac7ded982a5df5249272b33ce09a2fc8a5c66b08aba13e14fda41ccb360b735d06b683d2b2b7f5fa83da7518f5284ef110
7
- data.tar.gz: 058203920f30e2306c03a857c4551dcb1a5627eacd7a53aa9c93527a37d2b7978ad6e2d9072cff555b9f0ff05f5b98a3edd3965acf2627b3b449ff6abfe38496
6
+ metadata.gz: aeadfe1723ffc80d5b18685ad507c25b15b992f68dcf8e9acd8cafb6dc5664339648a1c66649fe899fdd435c1f442f53803b9a2fde6571ece7ec79795ffb8d93
7
+ data.tar.gz: 3e1ea8137d574f96d940b6c15cc04acc9d96dcca7a36247990863799dd97c542f1baaf30f459415840645f60ac44e12144f3f7c4616f2510fc7e73eb4ea8e1c0
@@ -1,6 +1,6 @@
1
1
  # Generated by API Builder - https://www.apibuilder.io
2
2
  # Service version: 0.3.65
3
- # apibuilder:0.12.61 https://app.apibuilder.io/flow/api/0.3.71/ruby_client
3
+ # apibuilder:0.12.61 https://app.apibuilder.io/flow/api/0.3.73/ruby_client
4
4
 
5
5
  require 'cgi'
6
6
  require 'net/http'
@@ -25,7 +25,7 @@ module Io
25
25
 
26
26
  BASE_URL = 'https://api.flow.io' unless defined?(Constants::BASE_URL)
27
27
  NAMESPACE = 'io.flow.v0' unless defined?(Constants::NAMESPACE)
28
- USER_AGENT = 'apibuilder:0.12.61 https://app.apibuilder.io/flow/api/0.3.71/ruby_client' unless defined?(Constants::USER_AGENT)
28
+ USER_AGENT = 'apibuilder:0.12.61 https://app.apibuilder.io/flow/api/0.3.73/ruby_client' unless defined?(Constants::USER_AGENT)
29
29
  VERSION = '0.3.65' unless defined?(Constants::VERSION)
30
30
  VERSION_MAJOR = 0 unless defined?(VERSION_MAJOR)
31
31
 
@@ -4501,6 +4501,17 @@ module Io
4501
4501
  r.map { |x| ::Io::Flow::V0::Models::Suggestion.new(x) }
4502
4502
  end
4503
4503
 
4504
+ # Returns link to CSV with suggested phrases for harmonization
4505
+ def get_harmonization_and_phrases(organization, incoming={})
4506
+ HttpClient::Preconditions.assert_class('organization', organization, String)
4507
+ opts = HttpClient::Helper.symbolize_keys(incoming)
4508
+ query = {
4509
+ :url => HttpClient::Preconditions.assert_class('url', opts.delete(:url), String)
4510
+ }.delete_if { |k, v| v.nil? }
4511
+ r = @client.request("/#{CGI.escape(organization)}/suggestion/harmonization/phrases").with_query(query).get
4512
+ r
4513
+ end
4514
+
4504
4515
  end
4505
4516
 
4506
4517
  class Tokens
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flowcommerce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.28
4
+ version: 0.2.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flow Commerce, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-13 00:00:00.000000000 Z
11
+ date: 2017-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json