bwapi 11.0.1.pre.617 → 11.0.1.pre.619

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
- NGYyMWU2ZTliZTRkODljZmZhZmM3NWZiYTI4MjFkNGY3NWEzYzVhNA==
4
+ MTExMzlmYmM1MDQxM2ZmZjc1ZjhmMWEwNGVlZTMwYWY3YTJjYjhmMw==
5
5
  data.tar.gz: !binary |-
6
- YmYxZGY2MjZhNjZiNTgzYTNjMTk1OGE2NjFlZTU1MWZiYWI5MmEzYg==
6
+ ZmUzOGUzYjRiM2E0ZGE5NGNhYjA3YjYwYzk4NTUzZmRhNDlhZjQ1MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODg1NTdmMDI0ZDA5ZWMzNmE4NTA2YjczOWZlODlmNTk4MjdjMmRmZGIzYjVi
10
- MDMxZTM3YzhiOTgwYTM4NGQ2ZGRhYmM5OWUxM2Y3M2JmNWIzN2FhNDQ4NmE0
11
- NGZkM2Q1MzEyMDkyOTBlMjU4MTJkY2IwYTAwMjFmMmFiMzZlZTA=
9
+ MzcwYzkwM2MyNGE0NTAxOGI3MmMyN2U4MjNhZDQ4ODkxMmNmOGRjMDI0NDFl
10
+ MDVmYzAwMzg0MjEzMmRjNmJkMGFkNWMzOTkxM2ViNGEyNmYzMGZmMjk0OThl
11
+ ZmFiODQ4ZGY4YTliNzEyYjlkOTZiMzQ3MTc4NTUxZmRjYjhlNTI=
12
12
  data.tar.gz: !binary |-
13
- YTI1ZGI5NDQ0YTFjMTJiZGFmNmE3MDcyZjQ3OWUwNDFhZDc0NzI3NmU0ZjMw
14
- MWZiYWFmMGFmNjBmYzYwMjAyZTFkMDkyMDY3YzA3MGY1MzExMTFkZjY5NWMy
15
- NTc2Zjg1M2Y1NmFkYThkOGM3YWFiN2ZhMjEwODJmMjFmNGMyMTI=
13
+ NTE4ZDk5ZDkxYzFjNDIwMTQxYTY0OTg5OTBjOWExYmJkODU1MzlkNmRlMzUw
14
+ MTEzZGE5YTQyYTI5NzYxMmJmMDNiOTQ0MTkzYTIwOWQxNjVkM2NlYjY2YTA2
15
+ NzE1NmZjYTBmMzJjMzY4NzRjMzNkNWY4NmYzNWZmYTdiY2I0MTc=
@@ -29,13 +29,6 @@ module BWAPI
29
29
  get 'admin/sharing-report'
30
30
  end
31
31
 
32
- # Retrieve a list of pricing options
33
- #
34
- # TODO: Add parameters documentation
35
- def pricing_options
36
- get 'admin/pricingoptions'
37
- end
38
-
39
32
  include BWAPI::Client::Admin::Become
40
33
  include BWAPI::Client::Admin::Clients
41
34
  include BWAPI::Client::Admin::Client
@@ -1,4 +1,5 @@
1
1
  require 'bwapi/client/client/grant_types'
2
+ require 'bwapi/client/client/pricing_options'
2
3
  require 'bwapi/client/client/sub_clients'
3
4
 
4
5
  module BWAPI
@@ -41,6 +42,7 @@ module BWAPI
41
42
  end
42
43
 
43
44
  include BWAPI::Client::Client::GrantTypes
45
+ include BWAPI::Client::Client::PricingOptions
44
46
  include BWAPI::Client::Client::SubClients
45
47
  end
46
48
  end
@@ -0,0 +1,15 @@
1
+ module BWAPI
2
+ class Client
3
+ module Client
4
+ # Pricingoptions module for client/pricingoptions endpoint
5
+ module PricingOptions
6
+ # Retrieve a list of pricing options
7
+ #
8
+ # TODO: Add parameters documentation
9
+ def pricing_options
10
+ get 'client/pricingoptions'
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bwapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.0.1.pre.617
4
+ version: 11.0.1.pre.619
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Chrisp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-26 00:00:00.000000000 Z
11
+ date: 2015-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -179,6 +179,7 @@ files:
179
179
  - lib/bwapi/client/brandwatch/usage_report.rb
180
180
  - lib/bwapi/client/client.rb
181
181
  - lib/bwapi/client/client/grant_types.rb
182
+ - lib/bwapi/client/client/pricing_options.rb
182
183
  - lib/bwapi/client/client/sub_clients.rb
183
184
  - lib/bwapi/client/command_center.rb
184
185
  - lib/bwapi/client/command_center/category_colours.rb