cb-api 6.0.1 → 6.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cb/models/implementations/user.rb +3 -2
- data/lib/cb/version.rb +1 -1
- metadata +2 -2
@@ -1,7 +1,7 @@
|
|
1
1
|
module Cb
|
2
2
|
module Models
|
3
3
|
class User
|
4
|
-
attr_accessor :user_status, :password, :email, :address_1, :address_2, :city, :state,
|
4
|
+
attr_accessor :external_id, :user_status, :password, :email, :address_1, :address_2, :city, :state,
|
5
5
|
:province, :postal_code, :zip, :country_code, :first_name,
|
6
6
|
:last_name, :phone, :fax, :last_login, :created, :allow_partner_emails,
|
7
7
|
:allow_newsletter_emails, :allow_email_from_headhunter, :domain, :registration_path,
|
@@ -10,9 +10,10 @@ module Cb
|
|
10
10
|
def initialize(args = {})
|
11
11
|
return if args.nil?
|
12
12
|
|
13
|
+
@external_id = args['ResponseExternalID'] || ''
|
13
14
|
@user_status = args['UserStatus'] || ''
|
14
15
|
@password = ''
|
15
|
-
@email
|
16
|
+
@email = args['Email'] || ''
|
16
17
|
@address_1 = args['Address1'] || ''
|
17
18
|
@address_2 = args['Address2'] || ''
|
18
19
|
@city = args['City'] || ''
|
data/lib/cb/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cb-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|