Sha256: e0af3996c69ec34892bb54f1f85e7eaeeb28fb3c528b11d1451fdfdbbad823b1
Contents?: true
Size: 520 Bytes
Versions: 8
Compression:
Stored size: 520 Bytes
Contents
require 'mls/version' require 'active_resource' module MLS class << self attr_accessor :environment def env @environment ||= 'development' end def site env == 'production' ? 'http://mls.42floors.com' : 'http://staging.mls.42floors.com' end end class Resource < ActiveResource::Base self.site = MLS.site self.user = nil self.password = nil end end require 'mls/use' require 'mls/address' require 'mls/listing' require 'mls/property'
Version data entries
8 entries across 8 versions & 1 rubygems
Version | Path |
---|---|
mls-0.0.10 | lib/mls.rb |
mls-0.0.9 | lib/mls.rb |
mls-0.0.8 | lib/mls.rb |
mls-0.0.7 | lib/mls.rb |
mls-0.0.6 | lib/mls.rb |
mls-0.0.5 | lib/mls.rb |
mls-0.0.4 | lib/mls.rb |
mls-0.0.3 | lib/mls.rb |