outbound 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/outbound.rb +3 -3
  3. metadata +10 -22
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5a829a64b45f3b3978897e69d1f22edd38d5fe79
4
+ data.tar.gz: d48a55fe1713fc757513d339b491a2e39b259dc3
5
+ SHA512:
6
+ metadata.gz: 90548565b1d11e68d27f86d703269868eaa36a7d31d3ea73cc1e8614e18685846525cf8953b9c9792860e65bcadfab6ac1c4ac1c67531b0a2decf8327b11011a
7
+ data.tar.gz: b041e42b052cdddc61f3022ca7ed9a03032b139d5b7b4eaf40c9371e6697cc39e0c919693b46515a49394935be5be8cf9d1dcaa96e5bb64519a996d484f8b9a6
data/lib/outbound.rb CHANGED
@@ -4,7 +4,7 @@ require 'net/http'
4
4
  require 'uri'
5
5
 
6
6
  module Outbound
7
- VERSION = '0.3'
7
+ VERSION = '0.3.1'
8
8
  BASE_URL = 'https://api.outbound.io/v2'
9
9
 
10
10
  APNS = "apns"
@@ -253,8 +253,8 @@ module Outbound
253
253
  :last_name => info[:last_name],
254
254
  :email => info[:email],
255
255
  :phone_number => info[:phone_number],
256
- :apns_tokens => info[:apns_tokens],
257
- :gcm_tokens => info[:gcm_tokens],
256
+ :apns => info[:apns_tokens],
257
+ :gcm => info[:gcm_tokens],
258
258
  :attributes => attributes,
259
259
  }
260
260
  return user.delete_if { |k, v| v.nil? || v.empty? }
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: outbound
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
5
- prerelease:
4
+ version: 0.3.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Travis Beauvais
@@ -11,24 +10,14 @@ bindir: bin
11
10
  cert_chain: []
12
11
  date: 2014-06-07 00:00:00.000000000 Z
13
12
  dependencies: []
14
- description: ! 'Outbound sends automated email, SMS, phone calls and push notifications
15
- based on the actions users take or do not take in your app. The Outbound API has
16
- two components:
17
-
13
+ description: |-
14
+ Outbound sends automated email, SMS, phone calls and push notifications based on the actions users take or do not take in your app. The Outbound API has two components:
18
15
 
19
16
  Identify each of your users and their attributes using an identify API call.
20
-
21
17
  Track the actions that each user takes in your app using a track API call.
18
+ Because every message is associated with a user (identify call) and a specific trigger action that a user took or should take (track call), Outbound is able to keep track of how each message affects user actions in your app. These calls also allow you to target campaigns and customize each message based on user data.
22
19
 
23
- Because every message is associated with a user (identify call) and a specific trigger
24
- action that a user took or should take (track call), Outbound is able to keep track
25
- of how each message affects user actions in your app. These calls also allow you
26
- to target campaigns and customize each message based on user data.
27
-
28
-
29
- Example: When a user in San Francisco(user attribute) does signup(event) but does
30
- not upload a picture(event) within 2 weeks, send them an email about how they''ll
31
- benefit from uploading a picture.'
20
+ Example: When a user in San Francisco(user attribute) does signup(event) but does not upload a picture(event) within 2 weeks, send them an email about how they'll benefit from uploading a picture.
32
21
  email: support@outbound.io
33
22
  executables: []
34
23
  extensions: []
@@ -38,27 +27,26 @@ files:
38
27
  homepage: https://outbound.io
39
28
  licenses:
40
29
  - MIT
30
+ metadata: {}
41
31
  post_install_message:
42
32
  rdoc_options: []
43
33
  require_paths:
44
34
  - lib
45
35
  required_ruby_version: !ruby/object:Gem::Requirement
46
- none: false
47
36
  requirements:
48
- - - ! '>='
37
+ - - '>='
49
38
  - !ruby/object:Gem::Version
50
39
  version: '0'
51
40
  required_rubygems_version: !ruby/object:Gem::Requirement
52
- none: false
53
41
  requirements:
54
- - - ! '>='
42
+ - - '>='
55
43
  - !ruby/object:Gem::Version
56
44
  version: '0'
57
45
  requirements: []
58
46
  rubyforge_project:
59
- rubygems_version: 1.8.23
47
+ rubygems_version: 2.0.14
60
48
  signing_key:
61
- specification_version: 3
49
+ specification_version: 4
62
50
  summary: Outbound sends automated email, SMS, phone calls and push notifications based
63
51
  on the actions users take (or do not take) in your app.
64
52
  test_files: []