smartfocus4rails 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +4 -1
- data/lib/smartfocus4rails/models/message.rb +13 -9
- data/lib/smartfocus4rails/version.rb +1 -1
- 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: 2143bc73bcdeb48732a939440fdd3cb3224dc752
|
4
|
+
data.tar.gz: 301c6d1ec23696ac1103dbc0c26285b9f8e95775
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0396b73ac0086ecfacd59820af122ad1e8ad58a6cf9bdec6e4471dd41558726cc3eba857a056489b1ec1bd1cb3e98f48264178c5a81e9097aee9780fba0d8796
|
7
|
+
data.tar.gz: 82dd888aef4217c844a4010b7b0c66976335d2fc0d3e83600a6d7655a7fc9bcc6ddbcbe2042cdaa56544b36ed4e431b2ebf1a5df8680ec79ce4a96a0323945b1
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -4,11 +4,14 @@ Smartfocus ruby on rails library
|
|
4
4
|
Smartfocus4rails is a library used to manage messages and campaigns or more simply newsletters from your rails application.
|
5
5
|
|
6
6
|
[![Build Status](https://secure.travis-ci.org/eboutic/smartfocus4rails.png)](http://travis-ci.org/eboutic/smartfocus4rails)
|
7
|
+
[![Code Climate](https://codeclimate.com/github/eboutic/smartfocus4rails.png)](https://codeclimate.com/github/eboutic/smartfocus4rails)
|
8
|
+
[![Coverage Status](https://coveralls.io/repos/eboutic/smartfocus4rails/badge.png)](https://coveralls.io/r/eboutic/smartfocus4rails)
|
9
|
+
[![Dependency Status](https://gemnasium.com/eboutic/smartfocus4rails.png)](https://gemnasium.com/eboutic/smartfocus4rails)
|
7
10
|
|
8
11
|
IMPORTANT
|
9
12
|
---------
|
10
13
|
|
11
|
-
This is
|
14
|
+
This is forked gem from https://github.com/basgys/emailvision4rails
|
12
15
|
Bastien Gysler is the creator of this gem.
|
13
16
|
The gem was rename to reflect the rename from emvailvision to smartfocus
|
14
17
|
|
@@ -92,15 +92,19 @@ class Smartfocus4rails::Message < Smartfocus4rails::Base
|
|
92
92
|
api.get.url.create_and_add_mirror_url(uri: [id, 'mirror_url']).call
|
93
93
|
end
|
94
94
|
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
95
|
+
# Replaces the first occurrence of &&& with
|
96
|
+
# [EMV LINK]ORDER[EMV /LINK] (where ORDER is the action link order number).
|
97
|
+
# Parameters :
|
98
|
+
# - name : The name of the URL
|
99
|
+
# - action : The action to perform
|
100
|
+
# - page_ok : The URL to call if the action was successful
|
101
|
+
# - message_ok : The message to display if the action was successful
|
102
|
+
# - page_error : The URL to call if the action was unsuccessful
|
103
|
+
# - message_error : The message to display if the action was unsuccessful
|
104
|
+
# Last 4 params is not require, but due to an API bug it must be present and must be an existing bounceback message id (eg: message with syntaxic error)
|
105
|
+
def create_and_add_action_url(name, action, page_ok, message_ok, page_error, message_error)
|
106
|
+
api.get.url.create_and_add_action_url(uri: [id, name, action, page_ok, message_ok, page_error, message_error]).call
|
107
|
+
end
|
104
108
|
|
105
109
|
# Replaces the first occurrence of &&& with [EMV SHARE lang=xx]
|
106
110
|
# Parameters :
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smartfocus4rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bastien Gysler
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-11-
|
12
|
+
date: 2013-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: smartfocus
|