flowcommerce 0.2.28 → 0.2.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flow_commerce/flow_api_v0_client.rb +13 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c5cbd7a7867ea30dfb72199e21d5352aa6a2279
|
4
|
+
data.tar.gz: 0dfe005cf234e0fcb5c81380031bba06f02558be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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-
|
11
|
+
date: 2017-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|