Skip to content

Instantly share code, notes, and snippets.

@brantz
Created November 20, 2012 11:10
Show Gist options
  • Save brantz/4117323 to your computer and use it in GitHub Desktop.
Save brantz/4117323 to your computer and use it in GitHub Desktop.
factories/open_immo.rb
# encoding: UTF-8
def open_immo_listing
JSON.parse(File.read(File.dirname(__FILE__) + "/immo_net_listing.json"))
end
def open_immo_xml
File.read(File.dirname(__FILE__) + '/immo_net_listing_generated_valid.xml')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment