Class: Fastlane::AppstoreReviews::CustomerReview
- Inherits:
-
Object
- Object
- Fastlane::AppstoreReviews::CustomerReview
- Defined in:
- lib/fastlane/plugin/appstore_reviews/models/customer_review.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#id ⇒ Object
Returns the value of attribute id.
-
#links ⇒ Object
Returns the value of attribute links.
-
#relationships ⇒ Object
Returns the value of attribute relationships.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(json) ⇒ CustomerReview
constructor
A new instance of CustomerReview.
Constructor Details
#initialize(json) ⇒ CustomerReview
Returns a new instance of CustomerReview.
12 13 14 15 16 17 18 |
# File 'lib/fastlane/plugin/appstore_reviews/models/customer_review.rb', line 12 def initialize(json) @type = json['type'] @id = json['id'] @attributes = ReviewAttributes.new(json['attributes']) @relationships = ReviewRelationships.new(json['relationships']) @links = Links.new(json['links']) end |
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
10 11 12 |
# File 'lib/fastlane/plugin/appstore_reviews/models/customer_review.rb', line 10 def attributes @attributes end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/fastlane/plugin/appstore_reviews/models/customer_review.rb', line 10 def id @id end |
#links ⇒ Object
Returns the value of attribute links.
10 11 12 |
# File 'lib/fastlane/plugin/appstore_reviews/models/customer_review.rb', line 10 def links @links end |
#relationships ⇒ Object
Returns the value of attribute relationships.
10 11 12 |
# File 'lib/fastlane/plugin/appstore_reviews/models/customer_review.rb', line 10 def relationships @relationships end |
#type ⇒ Object
Returns the value of attribute type.
10 11 12 |
# File 'lib/fastlane/plugin/appstore_reviews/models/customer_review.rb', line 10 def type @type end |