talon_one 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/management/client.rb +19 -2
- data/talon_one.gemspec +2 -2
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac7cd2f5968fe78f30a0edc443d3d39265c668f7
|
4
|
+
data.tar.gz: acb3da19459917cad6094d7678c1d3f4798cf5c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b3bc12ad1ebb44d2be95f4b9dfcdf5c217fa9ee01e894c96ce65e8ca052a1746c28d7913bb7794f1f7ad87a5c443340d448fcbba1c89a61b987729ae3cf61b6
|
7
|
+
data.tar.gz: 90dd6bbcb5561afd2476f77aed4db4ac8350a32c41f220d5f194fc6a9a4427ed88151ef390af80d33cfcc5382c85e91da90a3485f6a46f027ac3d60be29d8a84
|
data/CHANGELOG.md
CHANGED
data/lib/management/client.rb
CHANGED
@@ -60,10 +60,27 @@ module TalonOne
|
|
60
60
|
def create_application(params)
|
61
61
|
post "/v1/applications", params
|
62
62
|
end
|
63
|
+
|
64
|
+
def get_application(application_id)
|
65
|
+
get "v1/applications/#{application_id}"
|
66
|
+
end
|
63
67
|
|
64
|
-
def delete_application(
|
65
|
-
delete "/v1/applications/#{
|
68
|
+
def delete_application(application_id)
|
69
|
+
delete "/v1/applications/#{application_id}"
|
70
|
+
end
|
71
|
+
|
72
|
+
def get_applications
|
73
|
+
get "/v1/applications"
|
74
|
+
end
|
75
|
+
|
76
|
+
def create_campaign(application_id, params)
|
77
|
+
post "/v1/applications/#{application_id}/campaigns", params
|
78
|
+
end
|
79
|
+
|
80
|
+
def get_campaign(application_id, campaign_id)
|
81
|
+
get "v1/applications/#{application_id}/campaigns/#{campaign_id}"
|
66
82
|
end
|
83
|
+
|
67
84
|
end
|
68
85
|
end
|
69
86
|
end
|
data/talon_one.gemspec
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'talon_one'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.7'
|
4
4
|
s.date = '2017-05-19'
|
5
5
|
s.summary = 'Client for the Talon.One API'
|
6
6
|
s.description = 'A simple client for using the Talon.One API'
|
7
|
-
s.authors = ['
|
7
|
+
s.authors = ['Talon.One GmbH']
|
8
8
|
s.email = ['stephen@talon.one', 'vanwiele@talon.one']
|
9
9
|
s.required_ruby_version = '>= 2.2.0'
|
10
10
|
s.files = `git ls-files`.split("\n")
|
metadata
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: talon_one
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
- Laurens Van Wiele
|
7
|
+
- Talon.One GmbH
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|