bwapi 11.0.1.pre.606 → 11.0.1.pre.607

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZmM0NTYwZTI1Zjk4ZDUzNWY5MzZjMGM2ZGIzY2ZlZDYwYjAyYzlkYg==
4
+ MTgyODQ4OWRmMmY0YzViMzQzNTczMTBlYmQ1NGEwY2UwZTYyOWM2Zg==
5
5
  data.tar.gz: !binary |-
6
- YjJmODFkNTIyZGY3YmVmZGIyNzE4ZTRmMjNjMWU2NWRmYjkwNDZjYw==
6
+ YmExNWViODY5NTMyMTcwMmUxZTFlMmEwNDc5N2E4ZWM1NDY4OWRlNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGFiYjEwZjVkZTE1OGQwNDMxNTc1YTY5YzY1ZTc0OWQyNTBiYWQwYmI4ZWQ1
10
- MzRkOTg0MzhhYWI2Y2VkZTU4NWIwMjA3MTQwZmFlN2VmZWIxMDJkMGEyNTQ1
11
- NWJlNDc3NmFhMmI0MWFkNDNhNzJkNTRkODBlMGVlMTViNzcxZjQ=
9
+ OWU4YmExODc2ODI3OGFmNjgyYzk0OTAxZDczYjAyNWNlMjJiMWVjMTlkNzRi
10
+ MWFhNDg2ZTlhZjEyMjdmMzlkMTA5N2ZmNmQxMmFmN2FmMWFiYTA4MzZiMTBi
11
+ NmYxMmNkZWViOTZlM2U1ZDE2NDc4ODU5YmE5YWQ3ZjJjODJmNDM=
12
12
  data.tar.gz: !binary |-
13
- YmE5NDhhMjc1YjVjOTAxNWExZTFhY2M2ZDEyYmZjM2EyZmJkMDdiNjI5Njlm
14
- YWYyM2E1YmE2YjliZmFhZGRlYjU0ODg0YTFjMGVlMWVkYjc2NzI0MmU5ZWU2
15
- MTc2MGU3MDEwZDdlM2IyNzFiN2M2ODNiYjQ2OTNhNjdmYzZlNGU=
13
+ OTk5ZTFjOGIxMGYwY2E0MzAyNzlkYWE0YTE1MDE4NGI4Y2U0ODcxZjIxMzhl
14
+ ZDBjMDZiNjEwOTg4YjFhZWIxZTI4NWU3ZTQ0NDRjNDFjODk3ZmQ2ZjE1ZDg2
15
+ M2VlYTA5ZWI0NjQ1OWM1MjNjYzljN2I1ODNlZmQ2YWJkZTAzOGM=
@@ -4,6 +4,7 @@ require 'bwapi/client/admin/demographics'
4
4
  require 'bwapi/client/admin/reseller'
5
5
  require 'bwapi/client/admin/search'
6
6
  require 'bwapi/client/admin/client'
7
+ require 'bwapi/client/admin/pricing_upgrades'
7
8
 
8
9
  module BWAPI
9
10
  class Client
@@ -40,6 +41,7 @@ module BWAPI
40
41
  include BWAPI::Client::Admin::Demographics
41
42
  include BWAPI::Client::Admin::Reseller
42
43
  include BWAPI::Client::Admin::Search
44
+ include BWAPI::Client::Admin::PricingUpgrades
43
45
  end
44
46
  end
45
47
  end
@@ -0,0 +1,15 @@
1
+ module BWAPI
2
+ class Client
3
+ module Admin
4
+ # PricingUpgrades module for admin/pricingupgrades endpoints
5
+ module PricingUpgrades
6
+ # Get available pricing upgrades for a specific client
7
+ #
8
+ # TODO: Add parameters documentation
9
+ def pricing_upgrades(client_id)
10
+ get "admin/pricingupgrades/#{client_id}"
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bwapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.0.1.pre.606
4
+ version: 11.0.1.pre.607
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Chrisp
@@ -151,6 +151,7 @@ files:
151
151
  - lib/bwapi/client/admin/clients/users.rb
152
152
  - lib/bwapi/client/admin/clients/users/sharing.rb
153
153
  - lib/bwapi/client/admin/demographics.rb
154
+ - lib/bwapi/client/admin/pricing_upgrades.rb
154
155
  - lib/bwapi/client/admin/reseller.rb
155
156
  - lib/bwapi/client/admin/search.rb
156
157
  - lib/bwapi/client/aggregates.rb