nurego 1.1.19 → 1.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/nurego/organization.rb +12 -0
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.19
1
+ 1.1.20
@@ -38,5 +38,17 @@ module Nurego
38
38
  Util.convert_to_nurego_object(response, api_key)
39
39
  end
40
40
 
41
+ # params:
42
+
43
+ # :trial_days => total number of trial days
44
+ # :trial_months => total number of trial months
45
+ # exactly one of the trial_days | trial_months attributes should be passed.
46
+ # :plan_id => "plan guid" | plan guid
47
+
48
+ def update_trial_period(params = {}, api_key = nil)
49
+ response, api_key = Nurego.request(:post, url + '/update_trial_period', api_key, params)
50
+ Util.convert_to_nurego_object(response, api_key)
51
+ end
52
+
41
53
  end
42
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nurego
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.19
4
+ version: 1.1.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-22 00:00:00.000000000 Z
12
+ date: 2015-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client