has_accounts 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,10 +40,7 @@ module HasAccounts
40
40
  booking_template = BookingTemplate.find_by_code(template_code)
41
41
 
42
42
  # Prepare booking parameters
43
- booking_params = {
44
- :value_date => value_date,
45
- :reference => self
46
- }
43
+ booking_params = {:reference => self}
47
44
  booking_params.merge!(params)
48
45
 
49
46
  # Build and assign booking
@@ -42,8 +42,7 @@ module HasAccounts
42
42
  # Prepare booking parameters
43
43
  booking_params = {
44
44
  :value_date => value_date,
45
- :reference_type => self.class.name,
46
- :reference_id => self.id
45
+ :reference => self
47
46
  }
48
47
  booking_params.merge!(params)
49
48
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 0
9
- version: 0.6.0
8
+ - 1
9
+ version: 0.6.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Simon H\xC3\xBCrlimann (CyT)"