Class: PhoneGap::Build::AppFactory
- Inherits:
-
Object
- Object
- PhoneGap::Build::AppFactory
- Defined in:
- lib/phone_gap/build/app_factory.rb
Class Method Summary collapse
Class Method Details
.create(attributes) ⇒ Object
11 12 13 |
# File 'lib/phone_gap/build/app_factory.rb', line 11 def self.create(attributes) App.new(attributes) end |
.create_many(attributes) ⇒ Object
5 6 7 8 9 |
# File 'lib/phone_gap/build/app_factory.rb', line 5 def self.create_many(attributes) attributes['apps'].map do |attrs| create(attrs) end end |