Sha256: 85ac06e005240e63239163e0a78b21a64438bfb27ee60f0f21b3a4980a70fa99

Contents?: true

Size: 206 Bytes

Versions: 2

Compression:

Stored size: 206 Bytes

Contents

class Pickup < ActiveRecord::Base
  belongs_to :pickup_location
  has_many :pickup_dates
  belongs_to :supplier
  belongs_to :delivery

  def location_name 
    self.pickup_location.location_name
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 app/models/pickup.rb
spree_suppliers-0.60.3 app/models/pickup.rb