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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9680387a41f27d192eea6f37a7f9495cd6de9385a126cb72f0b47f5ec3075512
4
- data.tar.gz: 9930b491654c0499ddceb9f9cd8b6d03c02bc84f329d2278e96c1962e86647b5
3
+ metadata.gz: d8c6569b8b239d03e2e46d1897e5490e6c2e26958e942fd291338713cee643d9
4
+ data.tar.gz: d68c3d676f8cb840fc22d4bb9b76f8472556bc7f8873953e65f2ac1ae4d71408
5
5
  SHA512:
6
- metadata.gz: 521ad42898b33ab747c2b2f073aae7e0fd9d3132646ca61fafb26c03c6defd8853b5cf7763c09ee6b8cbb1921683266efbad1c3d3fb1a9cdc636ade2f1eb5d7b
7
- data.tar.gz: e28d10494172d051a1e38553e52f41c4f989068fc1b8b853cea68f00768c0a6400f5fe180baa3491a82b2d680da88704ad687c54e6a3f72260aa7bd8063aa50c
6
+ metadata.gz: d16af616049f6749bea04f83813583ba2a1e3cbfe81a36117ff71fa6e1682ad1d10c6ce0a9379103cf9f0e450fdd7d395b4d06a4bfb7679063e982b56a3164c5
7
+ data.tar.gz: be7c7b91326081f31ffe26f938cf30fbbc0d73525a2a098fb06e9e29d483d04b395e4d69c6d56784008358a87e688d89d89242d31c0ae50bfcfdbc18395465b9
data/.gitignore CHANGED
@@ -9,3 +9,5 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+
13
+ *.gem
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xpanse_2go (0.1.2)
4
+ xpanse_2go (0.1.3)
5
5
  activemodel (~> 6.0)
6
6
  fast_jsonapi (~> 1.3)
7
7
  typhoeus (~> 1.3)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Xpanse2go
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
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.2
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-25 00:00:00.000000000 Z
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: []