spaceship/lib/spaceship/tunes/territory.rb in fastlane-2.14.2 vs spaceship/lib/spaceship/tunes/territory.rb in fastlane-2.15.0.beta.20170213032052
- old
+ new
@@ -23,16 +23,9 @@
'region' => :region,
'regionLocaleKey' => :region_locale_key
)
class << self
- # Create a new object based on a hash.
- # This is used to create a new object based on the server response.
- def factory(attrs)
- obj = self.new(attrs)
- return obj
- end
-
# Create a new object based on a two-character country code (e.g. "US" for the United States)
def from_code(code)
obj = self.new
obj.code = code
return obj