Class: Shop

Inherits:
ActiveRecord::Base show all
Defined in:
app/models/shop.rb

Instance Method Summary collapse

Instance Method Details

#twitter_urlObject



17
18
19
# File 'app/models/shop.rb', line 17

def twitter_url
  twitter_handle.blank? ? nil : "http://twitter.com/#{twitter_handle}"
end