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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc89204a440d3cd0c46e52373f419460435cf29c
4
- data.tar.gz: 50e3aa4a66b3cd43e1aa8990e38ef8a4dff26adc
3
+ metadata.gz: b77750a8e9246be2feb6ea06705de3d418930a38
4
+ data.tar.gz: c4444543deab3a650764e7d94bc017b8a2c4cc34
5
5
  SHA512:
6
- metadata.gz: 248aff6e692930f3e7bded8770188f2eb764f7a8b6d36ea5dfbf287f10fade7d2bef6856baa846ca1c62ce1ef1193b78625f126af34aadde4b6d3c260cb9e249
7
- data.tar.gz: 7416aca1119fc3cfdec8059256bc13e6f684d069490e3188b77d93890424d1cb30ea22d7f69e8cf80bd8aa55b0e622c805e7615aaec04e895cb353c3bdc7437a
6
+ metadata.gz: 4141c77a96745819db748988734f9bf07d8446420b136e61442e71b79114b003a5f7bf2f8323482dc69cbf06a47a635d64165f05b3f7293febe92f6b023f394e
7
+ data.tar.gz: e08bad582a3c8880a4ae1ac84a91f42079c0f0b1c202647e55df297c1af3e65806bd556a75ab01a22f4f9367cc4be7ea943edfcb486dcc9ab1905f0ae66d4df9
@@ -1,7 +1,7 @@
1
- # Copyright (c) 2016. Fomo. https://www.usefomo.com
1
+ # Copyright (c) 2017. Fomo. https://www.usefomo.com
2
2
  #
3
3
  # Author:: Fomo (mailto:hello@usefomo.com)
4
- # Copyright:: Copyright (c) 2016. Fomo. https://www.usefomo.com
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) 2016. Fomo. https://www.usefomo.com
1
+ # Copyright (c) 2017. Fomo. https://www.usefomo.com
2
2
  #
3
3
  # Author:: Fomo (mailto:hello@usefomo.com)
4
- # Copyright:: Copyright (c) 2016. Fomo. https://www.usefomo.com
4
+ # Copyright:: Copyright (c) 2017. Fomo. https://www.usefomo.com
5
5
  # License:: MIT
6
6
 
7
7
  require 'json'
@@ -1,7 +1,7 @@
1
- # Copyright (c) 2016. Fomo. https://www.usefomo.com
1
+ # Copyright (c) 2017. Fomo. https://www.usefomo.com
2
2
  #
3
3
  # Author:: Fomo (mailto:hello@usefomo.com)
4
- # Copyright:: Copyright (c) 2016. Fomo. https://www.usefomo.com
4
+ # Copyright:: Copyright (c) 2017. Fomo. https://www.usefomo.com
5
5
  # License:: MIT
6
6
 
7
7
  require 'json'
@@ -1,7 +1,7 @@
1
- # Copyright (c) 2016. Fomo. https://www.usefomo.com
1
+ # Copyright (c) 2017. Fomo. https://www.usefomo.com
2
2
  #
3
3
  # Author:: Fomo (mailto:hello@usefomo.com)
4
- # Copyright:: Copyright (c) 2016. Fomo. https://www.usefomo.com
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) 2016. Fomo. https://www.usefomo.com
1
+ # Copyright (c) 2017. Fomo. https://www.usefomo.com
2
2
  #
3
3
  # Author:: Fomo (mailto:hello@usefomo.com)
4
- # Copyright:: Copyright (c) 2016. Fomo. https://www.usefomo.com
4
+ # Copyright:: Copyright (c) 2017. Fomo. https://www.usefomo.com
5
5
  # License:: MIT
6
6
 
7
7
  require 'json'
@@ -1,7 +1,7 @@
1
- # Copyright (c) 2016. Fomo. https://www.usefomo.com
1
+ # Copyright (c) 2017. Fomo. https://www.usefomo.com
2
2
  #
3
3
  # Author:: Fomo (mailto:hello@usefomo.com)
4
- # Copyright:: Copyright (c) 2016. Fomo. https://www.usefomo.com
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
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: 2016-09-30 00:00:00.000000000 Z
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.6.6
47
+ rubygems_version: 2.5.1
47
48
  signing_key:
48
49
  specification_version: 4
49
50
  summary: Fomo