zoho_hub 0.1.45 → 0.1.47

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: 9ba238b3ecbbc5a9fbddbd07901147f0b6b3a721c77a19bad3bfbfaa82f84d1a
4
- data.tar.gz: f43219a772010212ddc8d648d6e5feebd76085faa3cda856ddc9db922a8885b0
3
+ metadata.gz: ab690f62789a7d1a1343f0e1db7f795280dd1e92c1228d8aae7bf7e49fa12112
4
+ data.tar.gz: d8e07289509c05529e6f4d1af95c6da53045f2cc7a6c0afb211f807ad00add56
5
5
  SHA512:
6
- metadata.gz: fbc6e31ac5216f63e201e9ec1fe37071d17eb20ff7becfc71cd5f870f37cacee5544e1bee08169281ebf63c9d45d1bc7e75e36d8e067206dcb546c321fa85f23
7
- data.tar.gz: 6bf34d0c845d1e8a9574a72fb8e9720b1f31055dc70f806649f01a9a2d4ba20fb9b69320074e4868c492561d205b5d8adad299754a92154d56435ece8de2dec4
6
+ metadata.gz: 0b579915e0b55cc8dc47ec2b13e0951e9fffeb6604c44d2bcedaed43484e6d83251c9e43f9e8929e320806c2ff71c47f794bf5877385e2311e7ccb14c58ba5df
7
+ data.tar.gz: b2f5bb95037eb4d3be3bc71116a521055cbd473f82945259ff397fdb2eecadc9fb675b4ed3322913d58d2909496cde74157c945638a16b041efc70e47bfa6cb6
@@ -6,7 +6,7 @@ module ZohoHub
6
6
  class Account < BaseRecord
7
7
  attributes :id, :name, :territories, :company_number, :employee_count, :company_type, :industry
8
8
  attributes :billing_city, :billing_code, :billing_country, :billing_street, :billing_state
9
- attributes :account_type
9
+ attributes :account_type, :industry_section, :region
10
10
 
11
11
  # This is the ID to be used when the borrower has no organisation (unlikely) or belongs to
12
12
  # multiple organisations.
@@ -15,6 +15,7 @@ module ZohoHub
15
15
  attributes :credit_risk_band, :live_ccjs, :satisfied_ccjs
16
16
  attributes :state, :number_of_connections
17
17
  attributes :submitted_to_lender_panel, :last_attachment_uploaded, :funds_timeline
18
+ attributes :cancellation_reason
18
19
 
19
20
  DEFAULTS = {
20
21
  currency: 'GBP',
@@ -39,7 +40,8 @@ module ZohoHub
39
40
  number_of_connections: :Number_of_Connections,
40
41
  turnover_figure: :Turnover_figure,
41
42
  last_attachment_uploaded: :Last_Attachment_Uploaded,
42
- funds_timeline: :When_will_you_needs_the_funds
43
+ funds_timeline: :When_will_you_needs_the_funds,
44
+ cancellation_reason: :If_Application_Cancelled_select_reason
43
45
  )
44
46
 
45
47
  def initialize(params)
@@ -5,10 +5,12 @@ require 'zoho_hub/records/base_record'
5
5
  module ZohoHub
6
6
  class Quote < BaseRecord
7
7
  attributes :id, :stage, :subject, :potential_id, :owner_id, :product_id, :account_id, :extra_info
8
+ attributes :funding_amount, :financed_on
8
9
 
9
10
  attribute_translation(
10
11
  id: :id,
11
- stage: :Quote_Stage
12
+ stage: :Quote_Stage,
13
+ financed_on: :Financed_on
12
14
  )
13
15
 
14
16
  def initialize(params)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ZohoHub
4
- VERSION = '0.1.45'
4
+ VERSION = '0.1.47'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zoho_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.45
4
+ version: 0.1.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Otero
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-11 00:00:00.000000000 Z
11
+ date: 2022-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport