Class: AppStore::Link
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Helper::Plist
Constructor Details
This class inherits a constructor from AppStore::Base
Instance Method Details
#destination ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/app_store/link.rb', line 11 def destination @destination ||= case @item_type when 'software' AppStore::Application.new :plist => @client.get(@url)['item-metadata'] else raise 'unsupported' end end |