spaceship/lib/spaceship/portal/app.rb in fastlane-2.52.0.beta.20170809010003 vs spaceship/lib/spaceship/portal/app.rb in fastlane-2.52.0
- old
+ new
@@ -142,9 +142,16 @@
raise "`associate_groups` not available for Mac apps" if mac?
app = client.associate_groups_with_app(self, groups)
self.class.factory(app)
end
+ # Associate specific merchants with this app
+ # @return (App) The updated detailed app. This is nil if the app couldn't be found
+ def associate_merchants(merchants)
+ app = client.associate_merchants_with_app(self, merchants, mac?)
+ self.class.factory(app)
+ end
+
# Update a service for the app with given AppService object
# @return (App) The updated detailed app. This is nil if the app couldn't be found
def update_service(service)
raise "`update_service` not implemented for Mac apps" if mac?
app = client.update_service_for_app(self, service)