kaui 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,7 @@ class Kaui::CreditsController < Kaui::EngineController
3
3
  @account_id = params[:account_id]
4
4
  @invoice_id = params[:invoice_id]
5
5
 
6
+ if params.has_key?(:account_id)
6
7
  # invoice id can be nil for account level credit
7
8
  data = Kaui::KillbillHelper::get_credits(@account_id, @invoice_id)
8
9
  if data.present?
data/lib/kaui/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kaui
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaui
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alena Dudzinskaya