Skip to content
Browse files

Support multiple image servers

  • Loading branch information...
1 parent 3b91fc5 commit e95d555d1de9335b14569fb11a5aa53b3a390784 @waratuman waratuman committed Feb 25, 2013
Showing with 3 additions and 2 deletions.
  1. +2 −1 lib/mls.rb
  2. +1 −1 mls.gemspec
View
3 lib/mls.rb
@@ -60,7 +60,8 @@ def asset_host # TODO: testme
end
def image_host # TODO: testme
- @asset_host ||= get('/image_host').body
+ @image_host ||= get('/image_host').body
+ @image_host % rand(4) + 1
end
def listing_amenities
View
2 mls.gemspec
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
Gem::Specification.new do |s|
s.name = "mls"
- s.version = '0.2.36'
+ s.version = '0.2.37'
s.authors = ["James R. Bracy", "Jon Bracy"]
s.email = ["james@42floors.com"]
s.homepage = "http://mls.42floors.com"

0 comments on commit e95d555

Please sign in to comment.
Something went wrong with that request. Please try again.