g5_integrations_updatable 0.0.6 → 0.0.7

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: fa48244c5fb2bd90213fe2861a0a8971615314ee
4
- data.tar.gz: 99f93cbc28ec4956a580fbe1a6e4bc25649c0bd4
3
+ metadata.gz: dc4ab58cc731a0499813141b08c10094c84c75fb
4
+ data.tar.gz: 9a4d46236ac55bbba14012369e2aaa7c8ce253ec
5
5
  SHA512:
6
- metadata.gz: 7fb17c176b09a92fde98ec90adce12fa0c7c9064e4768b0252714e22f3c69799c94b3f279d0687d536348641a954eed3289ebbc205e6e120ad02ccdb87b4c98b
7
- data.tar.gz: 00d418fc9cf7eb22f3550c7161d7c9217b9d4ad811823a86a206789a02589aec1d3f9c4b51912bd07e410e060f87955a11529bf7fadf68b886347e95e48792b7
6
+ metadata.gz: af559915089eabd08b6c6230e07822194e77835afa5ebbaa94e1e70c328856dd4bd4d08d34c79fc934defd3d29d05c5b3ea7a2da80c9459dff8a8cd2413389c0
7
+ data.tar.gz: ebde961bb01735edc4731548f7f1891c0641a78fc5151e2616308fbc1ec75b4ba400b7e19c63d0c002bfe502dd9be2ee84db343041547f63214119842103db38
@@ -9,14 +9,16 @@ module G5IntegrationsUpdatable
9
9
  INVENTORY = 'inventory'
10
10
  LEAD_RESERVATION = 'lead_reservation'
11
11
  LEAD_INQUIRY = 'lead_inquiry'
12
+ LEAD_RESERVATION_WITH_FEE = 'lead_reservation_with_fee'
12
13
 
13
14
  scope :by_strategy_type, -> (vendor_strategy) { where(strategy_type: vendor_strategy) }
14
15
  scope :by_inventory, -> { by_strategy_type(INVENTORY) }
15
16
  scope :by_lead_reservation, -> { by_strategy_type(LEAD_RESERVATION) }
17
+ scope :by_lead_reservation_with_fee, -> { by_strategy_type(LEAD_RESERVATION_WITH_FEE) }
16
18
  scope :by_lead_inquiry, -> { by_strategy_type(LEAD_INQUIRY) }
17
19
 
18
20
  def to_param
19
21
  urn
20
22
  end
21
23
  end
22
- end
24
+ end
@@ -17,7 +17,12 @@ FactoryGirl.define do
17
17
  strategy_type { G5IntegrationsUpdatable::LocationSetting::LEAD_RESERVATION }
18
18
  end
19
19
 
20
+ factory :lead_reservation_with_fee_location_setting, parent: :location_setting do
21
+ strategy_type { G5IntegrationsUpdatable::LocationSetting::LEAD_RESERVATION_WITH_FEE }
22
+ end
23
+
20
24
  factory :lead_inquiry_location_setting, parent: :location_setting do
21
25
  strategy_type { G5IntegrationsUpdatable::LocationSetting::LEAD_INQUIRY }
22
26
  end
23
- end
27
+
28
+ end
@@ -1,3 +1,3 @@
1
1
  module G5IntegrationsUpdatable
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g5_integrations_updatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perry Hertler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-02 00:00:00.000000000 Z
11
+ date: 2014-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails