Skip to content
ChaosSteffen edited this page Sep 14, 2010 · 2 revisions

Each user may optionally have a shop. If a user is a seller, he / she also has an associated shop object:

>> user.seller?
=> true
>> shop = user.shop
=> #<Dawanda::Shop:0x14170c0 @result={"is_vacation"=>false, "name"=>"MEKO STORE" ...
>> shop.name
=> "MEKO STORE"

More information about shops can be found in the documentation for Dawanda::Shop.

Clone this wiki locally