Class: AppstoreKitFork::Model
- Inherits:
-
Object
- Object
- AppstoreKitFork::Model
- Defined in:
- lib/appstore_kit_fork/models/model.rb
Overview
Base model for representing different entities
Direct Known Subclasses
App, Build, BuildDetails, User, Version
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(options) ⇒ Model
constructor
A new instance of Model.
Constructor Details
#initialize(options) ⇒ Model
Returns a new instance of Model.
6 7 8 |
# File 'lib/appstore_kit_fork/models/model.rb', line 6 def initialize() @id = ['id'] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/appstore_kit_fork/models/model.rb', line 4 def id @id end |