g5_foundation_client 0.1.0 → 0.2.0

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: 89fd81b1c2f7bd2bd6050a7d280e4d9a47a7d695
4
- data.tar.gz: a35cd6b9c7a5db3a07e48a08e92e8052f6ee2b1d
3
+ metadata.gz: 3f1d9587c5bb0939c2ad30e79d2d4df91b703b47
4
+ data.tar.gz: 77c5d7aba3a5eb56dbc4cf2547fe65840a7af797
5
5
  SHA512:
6
- metadata.gz: 344c19c29daba8ad5ecac811cf364f27ca53f0a60ae28403feef35c262f11d29a9b2531015237871c6c5273b6132134879419d799fc55857a6c711e30ec85a24
7
- data.tar.gz: 2fe403121d16365fc9a89dc93ed0b31cdff35d4c4071de7bedf3fb8f82f4a2af70e63bc8ba7bf585cb5cf56acfe69ce1639d2e563f2737a67f8812026ef47bf4
6
+ metadata.gz: 5075193c43165d0da1e40039178edebe08c831868aaf3d7f756e52301cc259884e18f1ecd642055d6f925a48a63190c6cc61b9984a392713f86a6410bbf6ed4a
7
+ data.tar.gz: ba35cc9dd496d5d35f714287be93b622e281ed75097ba0922078c06a9b989bb2b885e174b0214c7afaabfe84e3f8d7721839481e8978542b28fdc6c3a04b2e31
@@ -45,20 +45,4 @@ class G5FoundationClient::Location
45
45
  return street_address_1 if street_address_2.blank?
46
46
  "#{street_address_1}\n#{street_address_2}"
47
47
  end
48
-
49
- def integration_settings
50
- @integration_settings ||= self.location_hash.fetch(:locations_integration_settings, []).collect { |is| G5FoundationClient::IntegrationSetting.new(is.merge(location: self)) }
51
- end
52
-
53
- def inventory_integration_settings
54
- inventory_integration_setting_by_vendor_action :inventory?
55
- end
56
-
57
- def lead_integration_settings
58
- inventory_integration_setting_by_vendor_action :lead?
59
- end
60
-
61
- def inventory_integration_setting_by_vendor_action(vendor_action)
62
- integration_settings.detect { |is| is.send(vendor_action) }
63
- end
64
48
  end
@@ -1,3 +1,3 @@
1
1
  module G5FoundationClient
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -18,7 +18,6 @@ require 'g5_foundation_client/record_not_found_exception'
18
18
  require 'g5_foundation_client/fetcher'
19
19
 
20
20
  require 'g5_foundation_client/models/findable_by_uid'
21
- require 'g5_foundation_client/models/integration_setting'
22
21
  require 'g5_foundation_client/models/location'
23
22
  require 'g5_foundation_client/models/client'
24
23