Class: Etsy::Profile
Overview
Profile
Represents a profile resource of an Etsy user.
Instance Method Summary collapse
-
#joined_at ⇒ Object
Time that this user joined Etsy.
- #materials ⇒ Object
- #seller? ⇒ Boolean
Methods included from Model
included, #initialize, #result, #secret, #token
Instance Method Details
#joined_at ⇒ Object
Time that this user joined Etsy
41 42 43 |
# File 'lib/etsy/profile.rb', line 41 def joined_at Time.at(joined) end |
#materials ⇒ Object
35 36 37 |
# File 'lib/etsy/profile.rb', line 35 def materials favorite_materials ? favorite_materials.split(',') : [] end |
#seller? ⇒ Boolean
45 46 47 |
# File 'lib/etsy/profile.rb', line 45 def seller? is_seller end |