Permalink
Browse files

store key fields for rets resources

  • Loading branch information...
Doug Cole
Doug Cole committed Apr 6, 2012
1 parent cb6f916 commit 973456cb5e9de40bc765521f35a16588e0b45f51
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/rets/metadata/resource.rb
@@ -3,6 +3,7 @@ module Metadata
class Resource
attr_accessor :rets_classes
attr_accessor :lookup_types
+ attr_accessor :key_field
attr_accessor :id
@@ -11,6 +12,7 @@ def initialize(resource)
self.lookup_types = {}
self.id = resource["ResourceID"]
+ self.key_field = resource["KeyField"]
end
def self.find_lookup_containers(metadata, resource)

0 comments on commit 973456c

Please sign in to comment.