xpanse_2go 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/Gemfile.lock +1 -1
- data/lib/xpanse_2go/address.rb +3 -1
- data/lib/xpanse_2go/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8c6569b8b239d03e2e46d1897e5490e6c2e26958e942fd291338713cee643d9
|
4
|
+
data.tar.gz: d68c3d676f8cb840fc22d4bb9b76f8472556bc7f8873953e65f2ac1ae4d71408
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d16af616049f6749bea04f83813583ba2a1e3cbfe81a36117ff71fa6e1682ad1d10c6ce0a9379103cf9f0e450fdd7d395b4d06a4bfb7679063e982b56a3164c5
|
7
|
+
data.tar.gz: be7c7b91326081f31ffe26f938cf30fbbc0d73525a2a098fb06e9e29d483d04b395e4d69c6d56784008358a87e688d89d89242d31c0ae50bfcfdbc18395465b9
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/lib/xpanse_2go/address.rb
CHANGED
@@ -5,7 +5,7 @@ module Xpanse2go
|
|
5
5
|
class Address
|
6
6
|
include ActiveModel::Model
|
7
7
|
|
8
|
-
attr_accessor :customer_name, :line1, :barangay, :city, :country, :zip_code
|
8
|
+
attr_accessor :customer_name, :line1, :barangay, :city, :province, :country, :zip_code
|
9
9
|
attr_accessor :mobile_number, :email_address
|
10
10
|
|
11
11
|
validates_presence_of :customer_name, :line1, :barangay, :city, :country, :zip_code
|
@@ -15,6 +15,7 @@ module Xpanse2go
|
|
15
15
|
@line1 = options[:line1]
|
16
16
|
@barangay = options[:barangay]
|
17
17
|
@city = options[:city]
|
18
|
+
@province = options[:province]
|
18
19
|
@country = options[:customer_name] || 'Philippines'
|
19
20
|
@zip_code = options[:zip_code]
|
20
21
|
@mobile_number = options[:mobile_number]
|
@@ -27,6 +28,7 @@ module Xpanse2go
|
|
27
28
|
"street": @line1,
|
28
29
|
"barangay": @barangay,
|
29
30
|
'city': @city,
|
31
|
+
'province': @province,
|
30
32
|
'area_code': @zip_code,
|
31
33
|
'mobile_number': @mobile_number,
|
32
34
|
'email_address': @email_address
|
data/lib/xpanse_2go/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xpanse_2go
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Marquez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -185,6 +185,7 @@ files:
|
|
185
185
|
- lib/xpanse_2go/version.rb
|
186
186
|
- xpanse_2go-0.1.0.gem
|
187
187
|
- xpanse_2go-0.1.1.gem
|
188
|
+
- xpanse_2go-0.1.2.gem
|
188
189
|
- xpanse_2go.gemspec
|
189
190
|
homepage: https://rubygems.org/gems/xpanse_2go
|
190
191
|
licenses: []
|