Class: Review

Inherits:
Object
  • Object
show all
Defined in:
lib/Models/Review.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(platform, id, userName, rating, title, body, createdDateTimestamp, url, appVersion, territory) ⇒ Review

Returns a new instance of Review.



5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/Models/Review.rb', line 5

def initialize(platform, id, userName, rating, title, body, createdDateTimestamp, url, appVersion, territory)
    @platform = platform
    @id = id
    @userName = userName
    @rating = rating
    @title = title
    @body = body
    @createdDateTimestamp = createdDateTimestamp
    @url = url
    @appVersion = appVersion
    @territory = territory
end

Instance Attribute Details

#appVersionObject

Returns the value of attribute appVersion.



4
5
6
# File 'lib/Models/Review.rb', line 4

def appVersion
  @appVersion
end

#bodyObject

Returns the value of attribute body.



4
5
6
# File 'lib/Models/Review.rb', line 4

def body
  @body
end

#createdDateTimestampObject

Returns the value of attribute createdDateTimestamp.



4
5
6
# File 'lib/Models/Review.rb', line 4

def createdDateTimestamp
  @createdDateTimestamp
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/Models/Review.rb', line 4

def id
  @id
end

#platformObject

Returns the value of attribute platform.



4
5
6
# File 'lib/Models/Review.rb', line 4

def platform
  @platform
end

#ratingObject

Returns the value of attribute rating.



4
5
6
# File 'lib/Models/Review.rb', line 4

def rating
  @rating
end

#territoryObject

Returns the value of attribute territory.



4
5
6
# File 'lib/Models/Review.rb', line 4

def territory
  @territory
end

#titleObject

Returns the value of attribute title.



4
5
6
# File 'lib/Models/Review.rb', line 4

def title
  @title
end

#urlObject

Returns the value of attribute url.



4
5
6
# File 'lib/Models/Review.rb', line 4

def url
  @url
end

#userNameObject

Returns the value of attribute userName.



4
5
6
# File 'lib/Models/Review.rb', line 4

def userName
  @userName
end