cortex-client 0.4.2 → 0.4.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: fb2580b7136752ae6d1b40970fa0b45a529269c1
4
- data.tar.gz: 083c6f7e5c84c322bfebb9985873b5b0c3cd5284
3
+ metadata.gz: 640b552c4269c71fa14666713023a58585ba5653
4
+ data.tar.gz: 3e498c7a729d39af2930e2c3f3db630337ec8ecb
5
5
  SHA512:
6
- metadata.gz: a73f9bddda57f05985c86cb1712143476fec09df85965e5d3c8017b0b0860de49cb0e614215a0f20e5e205df221501b06a6c9b4a94fcea02ad455d91ea29ab9c
7
- data.tar.gz: 8d95d3ef912ef99640fc6f12731b681e6096b08f38f9a4c6a17d097805b01de35f2cf53dabdbd0b280c96e90a2b898e0a72c4faf2a05ae02d71fa1a0bf68ca98
6
+ metadata.gz: 670b223406364d8ae19c080d5502f2c16aba5c7beb472f91aa5b698ba5a100cb22d60c228dba65538ca1b41e637ec7c791c0c54ca87ddd99adb7a59cc2859a95
7
+ data.tar.gz: f73df0b07000b439022d6323d49082cfd5d269080a0eacb668131ae6db2919dffbdf9bc405d5a7adb85fe034de8be279b75d7ec0dc277ae125cb148408ccb0f0
data/lib/cortex/client.rb CHANGED
@@ -3,6 +3,7 @@ require 'cortex/request'
3
3
  require 'cortex/resource'
4
4
  require 'cortex/posts'
5
5
  require 'cortex/users'
6
+ require 'cortex/webpages'
6
7
  require 'cortex/result'
7
8
  require 'oauth2'
8
9
  require 'cortex/exceptions'
@@ -28,6 +29,7 @@ module Cortex
28
29
  end
29
30
  @posts = Cortex::Posts.new(self)
30
31
  @users = Cortex::Users.new(self)
32
+ @webpages = Cortex::Webpages.new(self)
31
33
  end
32
34
 
33
35
  def get_cc_token
@@ -1,3 +1,3 @@
1
1
  module Cortex
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
3
3
  end
@@ -0,0 +1,7 @@
1
+ module Cortex
2
+ class Webpages < Cortex::Resource
3
+ def get_feed(id)
4
+ client.get("/webpages/feed/#{id}")
5
+ end
6
+ end
7
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cortex-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - CB Content Enablement
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-01 00:00:00.000000000 Z
11
+ date: 2015-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -145,6 +145,7 @@ files:
145
145
  - lib/cortex/result.rb
146
146
  - lib/cortex/users.rb
147
147
  - lib/cortex/version.rb
148
+ - lib/cortex/webpages.rb
148
149
  - spec/client_spec.rb
149
150
  - spec/posts_spec.rb
150
151
  - spec/request_spec.rb
@@ -171,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
172
  version: '0'
172
173
  requirements: []
173
174
  rubyforge_project:
174
- rubygems_version: 2.4.5
175
+ rubygems_version: 2.4.5.1
175
176
  signing_key:
176
177
  specification_version: 4
177
178
  summary: Cortex API Client