# File lib/heroku/api/mock.rb, line 108 def self.get_mock_feature(mock_data, feature) @features ||= begin data = File.read("#{File.dirname(__FILE__)}/mock/cache/get_features.json") MultiJson.load(data) end @features.detect {|feature_data| feature_data['name'] == feature} end