Class: VariantProperty

Inherits:
Base
  • Object
show all
Defined in:
app/models/variant_property.rb

Constant Summary

Constants inherited from Base

Base::BASE_URL

Instance Method Summary collapse

Instance Method Details

#variantObject



2
3
4
# File 'app/models/variant_property.rb', line 2

def variant
  Variant.find(:first, :from => "/v1/variants/#{self.variant_id}.xml")
end