Class: Review
- Inherits:
-
Object
- Object
- Review
- Defined in:
- lib/Models/Review.rb
Instance Attribute Summary collapse
-
#appVersion ⇒ Object
Returns the value of attribute appVersion.
-
#body ⇒ Object
Returns the value of attribute body.
-
#createdDateTimestamp ⇒ Object
Returns the value of attribute createdDateTimestamp.
-
#id ⇒ Object
Returns the value of attribute id.
-
#platform ⇒ Object
Returns the value of attribute platform.
-
#rating ⇒ Object
Returns the value of attribute rating.
-
#territory ⇒ Object
Returns the value of attribute territory.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
-
#userName ⇒ Object
Returns the value of attribute userName.
Instance Method Summary collapse
-
#initialize(platform, id, userName, rating, title, body, createdDateTimestamp, url, appVersion, territory) ⇒ Review
constructor
A new instance of Review.
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, , title, body, createdDateTimestamp, url, appVersion, territory) @platform = platform @id = id @userName = userName @rating = @title = title @body = body @createdDateTimestamp = createdDateTimestamp @url = url @appVersion = appVersion @territory = territory end |
Instance Attribute Details
#appVersion ⇒ Object
Returns the value of attribute appVersion.
4 5 6 |
# File 'lib/Models/Review.rb', line 4 def appVersion @appVersion end |
#body ⇒ Object
Returns the value of attribute body.
4 5 6 |
# File 'lib/Models/Review.rb', line 4 def body @body end |
#createdDateTimestamp ⇒ Object
Returns the value of attribute createdDateTimestamp.
4 5 6 |
# File 'lib/Models/Review.rb', line 4 def createdDateTimestamp @createdDateTimestamp end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/Models/Review.rb', line 4 def id @id end |
#platform ⇒ Object
Returns the value of attribute platform.
4 5 6 |
# File 'lib/Models/Review.rb', line 4 def platform @platform end |
#rating ⇒ Object
Returns the value of attribute rating.
4 5 6 |
# File 'lib/Models/Review.rb', line 4 def @rating end |
#territory ⇒ Object
Returns the value of attribute territory.
4 5 6 |
# File 'lib/Models/Review.rb', line 4 def territory @territory end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/Models/Review.rb', line 4 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/Models/Review.rb', line 4 def url @url end |
#userName ⇒ Object
Returns the value of attribute userName.
4 5 6 |
# File 'lib/Models/Review.rb', line 4 def userName @userName end |