Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updates to the image_host.

  • Loading branch information...
commit 1f09cd02263962f3aee9299f31991577aece1e07 1 parent e95d555
@waratuman waratuman authored
Showing with 5 additions and 2 deletions.
  1. +4 −1 lib/mls.rb
  2. +1 −1  mls.gemspec
View
5 lib/mls.rb
@@ -60,8 +60,11 @@ def asset_host # TODO: testme
end
def image_host # TODO: testme
+ raw_image_host % (rand(4) + 1)
+ end
+
+ def raw_image_host
@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.37'
+ s.version = '0.2.38'
s.authors = ["James R. Bracy", "Jon Bracy"]
s.email = ["james@42floors.com"]
s.homepage = "http://mls.42floors.com"
Please sign in to comment.
Something went wrong with that request. Please try again.