Class: Patreon::User
- Defined in:
- lib/patreon/objects/user.rb
Constant Summary collapse
- DEFAULT_FIELDS =
"about,can_see_nsfw,created,email,first_name,full_name,hide_pledges,image_url,is_email_verified,last_name,like_count,social_connections,thumb_url,url,vanity"
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ User
constructor
A new instance of User.
Methods inherited from Object
Constructor Details
#initialize(options = {}) ⇒ User
Returns a new instance of User.
6 7 8 9 10 |
# File 'lib/patreon/objects/user.rb', line 6 def initialize( = {}) super self.id = ["id"] if ["id"] end |