centaman 7.0.1 → 7.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/centaman/service/update_member.rb +4 -2
- data/lib/centaman/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '05974f6a94c5444ac47f36d75d7d9ae57648e8674048790f54926eb66994b37a'
|
4
|
+
data.tar.gz: 419b35460dafb9b2093b37d9a75317e301cb37e0c6bc32c9250dd92985059ce2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cce006128b1e4197bd02dc90a7ad4388590aff5e74f1d745e94000701975a5b637af64586743565bd73e09a7893f026793e0bef84efc95e94eacc884d321f78f
|
7
|
+
data.tar.gz: 16140dc9efd0215684b1adc8d2a80113191b406fcb4a3e8e1980f7fbdfcfd3d4167773163da92b8aef15766e09085aa2c72317f2707e4de2efbe732294fe022f
|
@@ -4,8 +4,8 @@ module Centaman
|
|
4
4
|
class Service::UpdateMember < Centaman::Service
|
5
5
|
include Centaman::JsonWrapper
|
6
6
|
|
7
|
-
attr_reader :id, :first_name, :last_name, :address,
|
8
|
-
:
|
7
|
+
attr_reader :id, :first_name, :last_name, :address, :gender,
|
8
|
+
:date_of_birth, :phone, :email, :password, :is_primary
|
9
9
|
|
10
10
|
def after_init(args)
|
11
11
|
@id = args[:id].try(:to_i)
|
@@ -13,6 +13,7 @@ module Centaman
|
|
13
13
|
@last_name = args[:last_name].try(:squish)
|
14
14
|
@address = args[:address].try(:symbolize_keys)
|
15
15
|
@gender = args[:gender]
|
16
|
+
@date_of_birth = args[:date_of_birth]
|
16
17
|
@phone = args[:phone]
|
17
18
|
@email = args[:email].try(:squish)
|
18
19
|
@password = args[:password]
|
@@ -38,6 +39,7 @@ module Centaman
|
|
38
39
|
'LastName' => last_name.try(:upcase),
|
39
40
|
'HomeAddress' => home_address,
|
40
41
|
'Gender' => gender,
|
42
|
+
'DateOfBirth' => date_of_birth,
|
41
43
|
'Email' => email.try(:upcase),
|
42
44
|
'Password' => password,
|
43
45
|
'IsPrimary' => is_primary
|
data/lib/centaman/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: centaman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- francirp
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-11-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|