g5_integrations_updatable 0.0.8 → 0.0.9

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: 47def5f9c16fa817e5fe58bc04c5be9c5c22fa4b
4
- data.tar.gz: 7cd3163b7a6cb8233db851493da5a776655216bd
3
+ metadata.gz: 9dc234f45b806642204f618570deacc29862937e
4
+ data.tar.gz: 7d16c46d161ae84943bf9a1bbf8005e8f8db3d7f
5
5
  SHA512:
6
- metadata.gz: f8433b801aff53f798c4edc9413224604c9773b3189279a4aca77f09dc8554ab69487bfb8c1a37148d16d2c73b527d0344de782951010a937c93e2c258f9018a
7
- data.tar.gz: 32185adb93d6be3117e0120329e2462bbb489161e545f72a20100bd55fd9cf1e11d7a1c434e6b9556800c68f65d00ceeb152e30f73980da93d50ec4dac1becbe
6
+ metadata.gz: cb5e85c775bc1aa20573da21f094cd93c003d0480a8eadf8b889e60c6e5bdcc330bec7320db7eff0d4b3b81880d39dbb86fce7bea88469c57c77ec84960397c9
7
+ data.tar.gz: cbc06aff0918a7657cebc9c8d08d567d06fae629aa3f9e2f0447d3608e6f7ebd7d860ec24711014a4fb21c2f2a83a9f73a2b98f8b726afbbc4ffdeea4c8d2a10
@@ -10,12 +10,14 @@ module G5IntegrationsUpdatable
10
10
  LEAD_RESERVATION = 'lead_reservation'
11
11
  LEAD_INQUIRY = 'lead_inquiry'
12
12
  LEAD_RESERVATION_WITH_FEE = 'lead_reservation_with_fee'
13
+ LEAD_SYNCHRONIZE = 'lead_synchronize'
13
14
 
14
15
  scope :by_strategy_type, -> (vendor_strategy) { where(strategy_type: vendor_strategy) }
15
16
  scope :by_inventory, -> { by_strategy_type(INVENTORY) }
16
17
  scope :by_lead_reservation, -> { by_strategy_type(LEAD_RESERVATION) }
17
18
  scope :by_lead_reservation_with_fee, -> { by_strategy_type(LEAD_RESERVATION_WITH_FEE) }
18
19
  scope :by_lead_inquiry, -> { by_strategy_type(LEAD_INQUIRY) }
20
+ scope :by_lead_synchronize, -> { by_strategy_type(LEAD_SYNCHRONIZE) }
19
21
 
20
22
  def to_param
21
23
  urn
@@ -17,6 +17,10 @@ FactoryGirl.define do
17
17
  strategy_type { G5IntegrationsUpdatable::LocationSetting::LEAD_RESERVATION }
18
18
  end
19
19
 
20
+ factory :lead_synchronize_location_setting, parent: :location_setting do
21
+ strategy_type { G5IntegrationsUpdatable::LocationSetting::LEAD_SYNCHRONIZE }
22
+ end
23
+
20
24
  factory :lead_reservation_with_fee_location_setting, parent: :location_setting do
21
25
  strategy_type { G5IntegrationsUpdatable::LocationSetting::LEAD_RESERVATION_WITH_FEE }
22
26
  end
@@ -1,3 +1,3 @@
1
1
  module G5IntegrationsUpdatable
2
- VERSION = "0.0.8"
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g5_integrations_updatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perry Hertler