Class: AppStore::Artwork

Inherits:
Base
  • Object
show all
Defined in:
lib/app_store/artwork.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#raw

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from Helper::Plist

#plist

Constructor Details

This class inherits a constructor from AppStore::Base

Instance Attribute Details

#defaultObject (readonly)

Returns the value of attribute default.



5
6
7
# File 'lib/app_store/artwork.rb', line 5

def default
  @default
end

#thumbnailObject (readonly)

Returns the value of attribute thumbnail.



5
6
7
# File 'lib/app_store/artwork.rb', line 5

def thumbnail
  @thumbnail
end

Instance Method Details

#is_icon?Boolean

Returns:



9
10
11
# File 'lib/app_store/artwork.rb', line 9

def is_icon?
  image_type == 'software-icon'
end