akamai_ccu 1.3.6 → 1.3.7

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: 787b8ab6fc4af9218285708703cbacca22d5f35c
4
- data.tar.gz: 24b488d8f106f8414080a47494e019d97559d4a2
3
+ metadata.gz: 34081b860a9117fcb8b29d71142e7fc3b9a35f21
4
+ data.tar.gz: c050cdf93d6438e15e7117e6408f70b7b6f7ae76
5
5
  SHA512:
6
- metadata.gz: 4c3dac991b54d54be93acb027c3129da2d5d90bf01a7c2afb6e5f53d0fe5f10c8fe0d60de5cf569eb324e9d64ab4b794b34181fdb091b9188cc8fd42c04f9501
7
- data.tar.gz: 2823115e714bc7b840b91f36cd147865f1bdc07cdeffe4a6b4bbf9db57d5fced1d284897da993066d622a0f5dfaa9f1d0942e91ae99b90f37a80828d94a3c7c8
6
+ metadata.gz: 7529688f00dda88a6f27d515b8e87efb59a5a59448fb8a0b5f1e942c6bbf4cb9b5d32444e627c8e6b89e957f390cdf27ae73f7629f1d071d1774ab646603df40
7
+ data.tar.gz: 384ab0c12360473d0b4751a13d8888c4eebd66c83934e595ea4a896dec633a89d232b107d06ba889f64f1a22c328e5c72382d134f73139f5e3a7ea126aca0fe5
data/README.md CHANGED
@@ -112,26 +112,26 @@ AkamaiCCU::Wrapper.setup(secret)
112
112
  The CCU V3 APIs allow for invalidating contents by URL or content provider (CP) code:
113
113
  ```ruby
114
114
  # invalidating resources on staging by url
115
- AkamaiCCU::Wrapper.invalidate_by_url(%w[https://akaa-baseurl-xxx-xxx.luna.akamaiapis.net/index.html], secret)
115
+ AkamaiCCU::Wrapper.invalidate_by_url(%w[https://akaa-baseurl-xxx-xxx.luna.akamaiapis.net/index.html])
116
116
 
117
117
  # invalidating resources on production (mind the "!") by CP code
118
- AkamaiCCU::Wrapper.invalidate_by_cpcode!([12345, 98765], secret)
118
+ AkamaiCCU::Wrapper.invalidate_by_cpcode!([12345, 98765])
119
119
  ```
120
120
 
121
121
  #### Deleting
122
122
  You can also delete contents by URL or CP code (just be aware of what you're doing):
123
123
  ```ruby
124
124
  # deleting resources on staging by CP code
125
- AkamaiCCU::Wrapper.delete_by_cpcode([12345, 98765], secret)
125
+ AkamaiCCU::Wrapper.delete_by_cpcode([12345, 98765])
126
126
 
127
127
  # deleting resources on production (mind the "!") by url
128
- AkamaiCCU::Wrapper.delete_by_url!(%w[https://akaa-baseurl-xxx-xxx.luna.akamaiapis.net/main.js], secret)
128
+ AkamaiCCU::Wrapper.delete_by_url!(%w[https://akaa-baseurl-xxx-xxx.luna.akamaiapis.net/main.js])
129
129
  ```
130
130
 
131
131
  #### Response
132
132
  The Net::HTTP response is wrapped by an utility struct:
133
133
  ```ruby
134
- res = AkamaiCCU::Wrapper.invalidate_by_cpcode([12345, 98765], secret)
134
+ res = AkamaiCCU::Wrapper.invalidate_by_cpcode([12345, 98765])
135
135
  puts res
136
136
  # status=201; detail=Request accepted; purge_id=e535071c-26b2-11e7-94d7-276f2f54d938; support_id=17PY1492793544958045-219026624; copletion_at=20170620T11:19:16+0000
137
137
  ```
@@ -1,3 +1,3 @@
1
1
  module AkamaiCCU
2
- VERSION = "1.3.6"
2
+ VERSION = "1.3.7"
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.3.6
4
+ version: 1.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - costajob