akamai_ccu 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ada7caa82f5422385c5635abdd3f212d00f3182
4
- data.tar.gz: 3e8b9808e1ee3826465a2ebce3f23e5f2055b587
3
+ metadata.gz: 23c8f51bd575edd26c6b894865f7391445318de2
4
+ data.tar.gz: 47ac17ae6124b4877f1a0c9ec54da001c80b3365
5
5
  SHA512:
6
- metadata.gz: f70ebf218662d1484252477d40a09c4ff41563a1c785c954aa3a2708c5ca9c5d365c1b2d309e11235d9caa0f935c857d910ebd249c4ddc28f2588dd67c0ba165
7
- data.tar.gz: df58d235897a12b63616ebc9d64bf6bec197e13e0b800de9444b40b6fde0e2ebd3fc1920e685a4f0a07df6155bd6190678fa07f9d1aadaf0c6d6b5d258e42870
6
+ metadata.gz: 044f99170c8f99d25a0fd79367c64746ee16bbd7254edac8ddf2663b5f7465f5a135d3e58025b8e0bf0e4be496d06be42fc02e73e18ff734242583f1dc0227f8
7
+ data.tar.gz: b08165cfce374e692d88703c948fb0e0865f6df46adab9ad96292c97ec72526aca982310c0af0695d3290c0f74bec07592f62f1f8514ac8d269b4f02aaff1296
data/README.md CHANGED
@@ -59,10 +59,10 @@ gem install akamai_ccu
59
59
  This gem requires you have a valid Akamai Luna Control Center account, enabled to use the CCU APIs.
60
60
  Akamai relies on a credentials file with three secret keys and a dedicated host for API authorization.
61
61
  Detailing how to get this file is out of the scope of this readme, check Akamai's [official documentation](https://developer.akamai.com/introduction/Conf_Client.html) for that.
62
- Suffice to say have two main options:
62
+ Suffice to say you have two main options:
63
63
 
64
64
  #### edgerc
65
- You can generate (by facility python scriot or by hand) a hidden file named `.edgerc`:
65
+ You can generate (by facility script or by hand) a specific file named `.edgerc`:
66
66
  ```
67
67
  [default]
68
68
  client_secret = xxx=
@@ -88,7 +88,7 @@ client_token = akab-client-token-xxx-xxx
88
88
  You can obviously use the gem directly inside your Ruby's script:
89
89
 
90
90
  #### Secret
91
- Once you've got your tokens file, you can instantiate the secret object aimed to generate the authorization header:
91
+ Once you've got APIs credentials, you can instantiate the secret object aimed to generate the authorization header:
92
92
  ```ruby
93
93
  require "akamai_ccu"
94
94
 
@@ -130,7 +130,7 @@ wrapper = AkamaiCCU::Wrapper.new(secret: secret, endpoint: AkamaiCCU::Endpoint.b
130
130
  wrapper.call(%w[https://akaa-baseurl-xxx-xxx.luna.akamaiapis.net/*.css])
131
131
 
132
132
  # switch to deleting on production
133
- wrapper.api = AkamaiCCU::Endpoint.by_name("delete_by_cpcode!")
133
+ wrapper.endpoint = AkamaiCCU::Endpoint.by_name("delete_by_cpcode!")
134
134
  wrapper.call([12345, 98765])
135
135
  ```
136
136
 
@@ -1,3 +1,3 @@
1
1
  module AkamaiCCU
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akamai_ccu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - costajob