Method: Spaceship::Portal::App#associate_merchants

Defined in:
spaceship/lib/spaceship/portal/app.rb

#associate_merchants(merchants) ⇒ App

Associate specific merchants with this app

Returns:

  • (App)

    The updated detailed app. This is nil if the app couldn’t be found


173
174
175
176
# File 'spaceship/lib/spaceship/portal/app.rb', line 173

def associate_merchants(merchants)
  app = client.associate_merchants_with_app(self, merchants, mac?)
  self.class.factory(app)
end