Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

store key fields for rets resources

  • Loading branch information...
commit 973456cb5e9de40bc765521f35a16588e0b45f51 1 parent cb6f916
@dougcole dougcole authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/rets/metadata/resource.rb
View
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.