Skip to content

Commit

Permalink
Add Shop association to Listing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Muon committed Jun 26, 2012
1 parent e9142af commit d11d74c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/etsy/listing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class Listing

association :images, :from => 'Images', :class => 'Image'
association :main_image, :from => 'MainImage', :class => 'Image'
association :shop, :from => 'Shop'

def self.create(options = {})
options.merge!(:require_secure => true)
Expand Down

0 comments on commit d11d74c

Please sign in to comment.