Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adds getting the user of a list

  • Loading branch information...
commit fccb6c33ed87faeba43e5144c8d4969cf7ed67fa 1 parent 422737e
@vesan authored
Showing with 4 additions and 2 deletions.
  1. +1 −1  TODO.md
  2. +3 −1 lib/kippt/list.rb
View
2  TODO.md
@@ -23,7 +23,7 @@
# List
* [DONE] Support for is private
-* Getting the user
+* [DONE] Getting the user
* Getting & setting the description
* Getting the collaborators of the list
* Getting the app url fo the clip
View
4 lib/kippt/list.rb
@@ -1,10 +1,12 @@
require "ostruct"
+require "kippt/user"
class Kippt::List
include Kippt::Resource
attributes :app_url, :id, :rss_url, :updated, :title,
- :created, :slug, :resource_uri
+ :created, :slug, :resource_uri,
+ :user => Kippt::User
boolean_attributes :is_private
writable_attributes :title
Please sign in to comment.
Something went wrong with that request. Please try again.