Sha256: 32488285fc0ca73d566e00b27400be1fac255ca2bc884f10e8acaa664f0b4905

Contents?: true

Size: 331 Bytes

Versions: 11

Compression:

Stored size: 331 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 = {})
    puts collection
    collection['properties'].collect! { |record| instantiate_record(record, prefix_options) }
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mls-0.0.19 lib/mls/property.rb
mls-0.0.18 lib/mls/property.rb
mls-0.0.17 lib/mls/property.rb
mls-0.0.16 lib/mls/property.rb
mls-0.0.15 lib/mls/property.rb
mls-0.0.14 lib/mls/property.rb
mls-0.0.13 lib/mls/property.rb
mls-0.0.12 lib/mls/property.rb
mls-0.0.11 lib/mls/property.rb
mls-0.0.10 lib/mls/property.rb
mls-0.0.9 lib/mls/property.rb