We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f17415 + 30ea66e commit 0b5afb2Copy full SHA for 0b5afb2
lib/cortex/client.rb
@@ -3,6 +3,7 @@
3
require 'cortex/resource'
4
require 'cortex/posts'
5
require 'cortex/users'
6
+require 'cortex/webpages'
7
require 'cortex/result'
8
require 'oauth2'
9
require 'cortex/exceptions'
@@ -28,6 +29,7 @@ def initialize(hasharg)
28
29
end
30
@posts = Cortex::Posts.new(self)
31
@users = Cortex::Users.new(self)
32
+ @webpages = Cortex::Webpages.new(self)
33
34
35
def get_cc_token
lib/cortex/version.rb
@@ -1,3 +1,3 @@
1
module Cortex
2
- VERSION = '0.4.2'
+ VERSION = '0.4.3'
lib/cortex/webpages.rb
@@ -0,0 +1,7 @@
+module Cortex
+ class Webpages < Cortex::Resource
+ def get_feed(id)
+ client.get("/webpages/feed/#{id}")
+ end
+end
0 commit comments