flowcommerce 0.0.23 → 0.0.24
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 -4
- 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: 3d30faec7a8a0587f46ba27b977be684e4f0d7d4
|
4
|
+
data.tar.gz: cad0f13f16cb033f077807b33b2a5694ca166252
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd881a7b74e68a12d1277de4a83e3a14309f3ddbbd942f4b2669e37cd7ebe71510359895a38bc6f81f395c44c531a1f823f76f2d6ff1205aad5285d353e18b61
|
7
|
+
data.tar.gz: 51a722b228f164112df29a6b58053c12a3ba23f4840b009a18f70b48a09534dcad9db70ad31409842412c494943ab7683f7ac8bd93797c0d86559c4a4de083ce
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# Generated by apidoc - http://www.apidoc.me
|
2
|
-
# Service version: 0.0.
|
3
|
-
# apidoc:0.11.33 http://www.apidoc.me/flow/api/0.0.
|
2
|
+
# Service version: 0.0.69
|
3
|
+
# apidoc:0.11.33 http://www.apidoc.me/flow/api/0.0.69/ruby_client
|
4
4
|
|
5
5
|
require 'cgi'
|
6
6
|
require 'net/http'
|
@@ -25,8 +25,8 @@ 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 = 'apidoc:0.11.33 http://www.apidoc.me/flow/api/0.0.
|
29
|
-
VERSION = '0.0.
|
28
|
+
USER_AGENT = 'apidoc:0.11.33 http://www.apidoc.me/flow/api/0.0.69/ruby_client' unless defined?(Constants::USER_AGENT)
|
29
|
+
VERSION = '0.0.69' unless defined?(Constants::VERSION)
|
30
30
|
VERSION_MAJOR = 0 unless defined?(VERSION_MAJOR)
|
31
31
|
|
32
32
|
end
|
@@ -976,6 +976,15 @@ module Io
|
|
976
976
|
::Io::Flow::V0::Models::Function.new(r)
|
977
977
|
end
|
978
978
|
|
979
|
+
# Update an existing function
|
980
|
+
def put_by_id(organization, id, function_form)
|
981
|
+
HttpClient::Preconditions.assert_class('organization', organization, String)
|
982
|
+
HttpClient::Preconditions.assert_class('id', id, String)
|
983
|
+
HttpClient::Preconditions.assert_class('function_form', function_form, ::Io::Flow::V0::Models::FunctionForm)
|
984
|
+
r = @client.request("/#{CGI.escape(organization)}/functions/#{CGI.escape(id)}").with_json(function_form.to_json).put
|
985
|
+
::Io::Flow::V0::Models::Function.new(r)
|
986
|
+
end
|
987
|
+
|
979
988
|
# Delete the function with this id
|
980
989
|
def delete_by_id(organization, id)
|
981
990
|
HttpClient::Preconditions.assert_class('organization', organization, String)
|
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.0.
|
4
|
+
version: 0.0.24
|
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: 2016-08-
|
11
|
+
date: 2016-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|