class Spaceship::Tunes::AppVersionPromocodes

Represents the information about remaining number of promo codes for an app version

Attributes

app_id[R]

@return

app_name[R]
contract_file_name[R]
maximum_number_of_codes[R]
number_of_codes[R]
platform[R]
version[R]

Public Class Methods

factory(attrs) click to toggle source

Create a new object based on a hash. This is used to create a new object based on the server response.

# File lib/spaceship/tunes/app_version_promocodes.rb, line 27
def factory(attrs)
  obj = self.new(attrs)
  return obj
end