fomo 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fomo.rb +2 -2
- data/lib/fomo_delete_message_response.rb +2 -2
- data/lib/fomo_event.rb +2 -2
- data/lib/fomo_event_basic.rb +8 -4
- data/lib/fomo_events_with_meta.rb +2 -2
- data/lib/fomo_meta_data.rb +2 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b77750a8e9246be2feb6ea06705de3d418930a38
|
4
|
+
data.tar.gz: c4444543deab3a650764e7d94bc017b8a2c4cc34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4141c77a96745819db748988734f9bf07d8446420b136e61442e71b79114b003a5f7bf2f8323482dc69cbf06a47a635d64165f05b3f7293febe92f6b023f394e
|
7
|
+
data.tar.gz: e08bad582a3c8880a4ae1ac84a91f42079c0f0b1c202647e55df297c1af3e65806bd556a75ab01a22f4f9367cc4be7ea943edfcb486dcc9ab1905f0ae66d4df9
|
data/lib/fomo.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
# Copyright (c)
|
1
|
+
# Copyright (c) 2017. Fomo. https://www.usefomo.com
|
2
2
|
#
|
3
3
|
# Author:: Fomo (mailto:hello@usefomo.com)
|
4
|
-
# Copyright:: Copyright (c)
|
4
|
+
# Copyright:: Copyright (c) 2017. Fomo. https://www.usefomo.com
|
5
5
|
# License:: MIT
|
6
6
|
|
7
7
|
require 'net/https'
|
@@ -1,7 +1,7 @@
|
|
1
|
-
# Copyright (c)
|
1
|
+
# Copyright (c) 2017. Fomo. https://www.usefomo.com
|
2
2
|
#
|
3
3
|
# Author:: Fomo (mailto:hello@usefomo.com)
|
4
|
-
# Copyright:: Copyright (c)
|
4
|
+
# Copyright:: Copyright (c) 2017. Fomo. https://www.usefomo.com
|
5
5
|
# License:: MIT
|
6
6
|
|
7
7
|
require 'json'
|
data/lib/fomo_event.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
# Copyright (c)
|
1
|
+
# Copyright (c) 2017. Fomo. https://www.usefomo.com
|
2
2
|
#
|
3
3
|
# Author:: Fomo (mailto:hello@usefomo.com)
|
4
|
-
# Copyright:: Copyright (c)
|
4
|
+
# Copyright:: Copyright (c) 2017. Fomo. https://www.usefomo.com
|
5
5
|
# License:: MIT
|
6
6
|
|
7
7
|
require 'json'
|
data/lib/fomo_event_basic.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
# Copyright (c)
|
1
|
+
# Copyright (c) 2017. Fomo. https://www.usefomo.com
|
2
2
|
#
|
3
3
|
# Author:: Fomo (mailto:hello@usefomo.com)
|
4
|
-
# Copyright:: Copyright (c)
|
4
|
+
# Copyright:: Copyright (c) 2017. Fomo. https://www.usefomo.com
|
5
5
|
# License:: MIT
|
6
6
|
|
7
7
|
require 'json'
|
@@ -21,6 +21,9 @@ class FomoEventBasic
|
|
21
21
|
# First name of the person on the event. Size range: 0..255
|
22
22
|
attr_accessor :first_name
|
23
23
|
|
24
|
+
# Email address of the person on the event. Size range: 0..255
|
25
|
+
attr_accessor :email_address
|
26
|
+
|
24
27
|
# City where the event happened. Size range: 0..255
|
25
28
|
attr_accessor :city
|
26
29
|
|
@@ -40,11 +43,12 @@ class FomoEventBasic
|
|
40
43
|
attr_accessor :custom_event_fields_attributes
|
41
44
|
|
42
45
|
# Initializes FomoEventBasic object
|
43
|
-
def initialize(event_type_id='', event_type_tag='', url='', first_name='', city='', province='', country='', title='', image_url='', custom_event_fields_attributes = [])
|
46
|
+
def initialize(event_type_id='', event_type_tag='', url='', first_name='', email_address='', city='', province='', country='', title='', image_url='', custom_event_fields_attributes = [])
|
44
47
|
@event_type_id = event_type_id
|
45
48
|
@event_type_tag = event_type_tag
|
46
49
|
@url = url
|
47
50
|
@first_name = first_name
|
51
|
+
@email_address = email_address
|
48
52
|
@city = city
|
49
53
|
@province = province
|
50
54
|
@country = country
|
@@ -76,4 +80,4 @@ class FomoEventBasic
|
|
76
80
|
end
|
77
81
|
'{"event":' + hash.to_json + '}'
|
78
82
|
end
|
79
|
-
end
|
83
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
# Copyright (c)
|
1
|
+
# Copyright (c) 2017. Fomo. https://www.usefomo.com
|
2
2
|
#
|
3
3
|
# Author:: Fomo (mailto:hello@usefomo.com)
|
4
|
-
# Copyright:: Copyright (c)
|
4
|
+
# Copyright:: Copyright (c) 2017. Fomo. https://www.usefomo.com
|
5
5
|
# License:: MIT
|
6
6
|
|
7
7
|
require 'json'
|
data/lib/fomo_meta_data.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
# Copyright (c)
|
1
|
+
# Copyright (c) 2017. Fomo. https://www.usefomo.com
|
2
2
|
#
|
3
3
|
# Author:: Fomo (mailto:hello@usefomo.com)
|
4
|
-
# Copyright:: Copyright (c)
|
4
|
+
# Copyright:: Copyright (c) 2017. Fomo. https://www.usefomo.com
|
5
5
|
# License:: MIT
|
6
6
|
|
7
7
|
require 'json'
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fomo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fomo
|
8
|
+
- Ryan Kulp
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2017-05-31 00:00:00.000000000 Z
|
12
13
|
dependencies: []
|
13
14
|
description: Fomo Ruby SDK is the official SDK wrapper for the Fomo API service
|
14
15
|
email:
|
@@ -43,7 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
43
44
|
version: '0'
|
44
45
|
requirements: []
|
45
46
|
rubyforge_project:
|
46
|
-
rubygems_version: 2.
|
47
|
+
rubygems_version: 2.5.1
|
47
48
|
signing_key:
|
48
49
|
specification_version: 4
|
49
50
|
summary: Fomo
|