class PhoneGap::Build::AppFactory

Public Class Methods

create(attributes) click to toggle source
# File lib/phone_gap/build/app_factory.rb, line 11
def self.create(attributes)
  App.new(attributes)
end
create_many(attributes) click to toggle source
# File lib/phone_gap/build/app_factory.rb, line 5
def self.create_many(attributes)
  attributes['apps'].map do |attrs|
    create(attrs)
  end
end