Sha256: 6f9929e6e48c41a998d0bef0ce7e47e6b07e54e52644a1e5be4bf5799611e8f7

Contents?: true

Size: 311 Bytes

Versions: 4

Compression:

Stored size: 311 Bytes

Contents

class MLS::Property < MLS::Resource

  def addresses
    @addresses ||= MLS::Address.all :params => {:property_id => id}
  end

  private

  def self.instantiate_collection(collection, prefix_options = {})
    collection['properties'].collect! { |record| instantiate_record(record, prefix_options) }
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mls-0.0.23 lib/mls/property.rb
mls-0.0.22 lib/mls/property.rb
mls-0.0.21 lib/mls/property.rb
mls-0.0.20 lib/mls/property.rb