Class: AndroidMarketApplication
- Inherits:
-
Object
- Object
- AndroidMarketApplication
- Defined in:
- lib/android_market_api/android_market_application.rb
Constant Summary collapse
- @@debug =
0
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#contentRating ⇒ Object
Returns the value of attribute contentRating.
-
#current_version ⇒ Object
Returns the value of attribute current_version.
-
#description ⇒ Object
Returns the value of attribute description.
-
#developer_name ⇒ Object
Returns the value of attribute developer_name.
-
#downloads ⇒ Object
Returns the value of attribute downloads.
-
#icon ⇒ Object
Returns the value of attribute icon.
-
#language ⇒ Object
Returns the value of attribute language.
-
#name ⇒ Object
Returns the value of attribute name.
-
#package ⇒ Object
Returns the value of attribute package.
-
#price ⇒ Object
Returns the value of attribute price.
-
#ratting_count ⇒ Object
Returns the value of attribute ratting_count.
-
#ratting_value ⇒ Object
Returns the value of attribute ratting_value.
-
#screenshots ⇒ Object
Returns the value of attribute screenshots.
-
#sdk_required ⇒ Object
Returns the value of attribute sdk_required.
-
#size ⇒ Object
Returns the value of attribute size.
-
#update_text ⇒ Object
Returns the value of attribute update_text.
-
#updated ⇒ Object
Returns the value of attribute updated.
Instance Method Summary collapse
-
#initialize(package, language = 'en') ⇒ AndroidMarketApplication
constructor
Contructor: Example Usage AndroidMarketApplication.new(“com.bearstouch.smsscheduler”).
- #to_s ⇒ Object
Constructor Details
#initialize(package, language = 'en') ⇒ AndroidMarketApplication
Contructor: Example Usage AndroidMarketApplication.new(“com.bearstouch.smsscheduler”)
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/android_market_api/android_market_application.rb', line 20 def initialize(package,language='en') @package=package @language=language; @name="" # Application Name @current_version="" # Application Current Version @price="" # Application Price @ratting_value="" # Ratting Value @ratting_count="" # Nr of Votes @updated="" # Last Upfate datetime @sdk_required="" # SDK Required @category="" # Category @downloads="" # Ratting @size="" # Application Size @contentRating="" # Content Ratting @description="" # Application description @developer_name="" # Developer Name @icon="" # Icon URL @screenshots=Array.new @update_text=Array.new parseInAndroidMarket(language) end |
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def category @category end |
#contentRating ⇒ Object
Returns the value of attribute contentRating.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def contentRating @contentRating end |
#current_version ⇒ Object
Returns the value of attribute current_version.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def current_version @current_version end |
#description ⇒ Object
Returns the value of attribute description.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def description @description end |
#developer_name ⇒ Object
Returns the value of attribute developer_name.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def developer_name @developer_name end |
#downloads ⇒ Object
Returns the value of attribute downloads.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def downloads @downloads end |
#icon ⇒ Object
Returns the value of attribute icon.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def icon @icon end |
#language ⇒ Object
Returns the value of attribute language.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def language @language end |
#name ⇒ Object
Returns the value of attribute name.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def name @name end |
#package ⇒ Object
Returns the value of attribute package.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def package @package end |
#price ⇒ Object
Returns the value of attribute price.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def price @price end |
#ratting_count ⇒ Object
Returns the value of attribute ratting_count.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def ratting_count @ratting_count end |
#ratting_value ⇒ Object
Returns the value of attribute ratting_value.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def ratting_value @ratting_value end |
#screenshots ⇒ Object
Returns the value of attribute screenshots.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def screenshots @screenshots end |
#sdk_required ⇒ Object
Returns the value of attribute sdk_required.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def sdk_required @sdk_required end |
#size ⇒ Object
Returns the value of attribute size.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def size @size end |
#update_text ⇒ Object
Returns the value of attribute update_text.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def update_text @update_text end |
#updated ⇒ Object
Returns the value of attribute updated.
14 15 16 |
# File 'lib/android_market_api/android_market_application.rb', line 14 def updated @updated end |
Instance Method Details
#to_s ⇒ Object
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 |
# File 'lib/android_market_api/android_market_application.rb', line 201 def to_s() puts "-------------------------------------------------------------" puts " Application Name = "+@name.to_s puts " Application Package = "+@package.to_s puts " Application Current Version = "+@current_version.to_s puts " Application Price = "+@price.to_s puts " Application Ratting Value = "+@ratting_value.to_s puts " Application Ratting Count = "+@ratting_count.to_s puts " Application Updated = "+@updated.to_s puts " SDK required = "+@sdk_required.to_s puts " Category = "+@category.to_s puts " Nr of Downloads = "+@downloads.to_s puts " Size = "+@size.to_s puts " Content Ratting = "+@contentRating.to_s puts " Application description = "+@description.to_s puts " Developer Name = "+@developer_name.to_s puts " Icon URL = "+@icon.to_s puts "-------------------------------------------------------------" end |