Class: ConnectorKit::Version
- Defined in:
- lib/connector_kit/models/version.rb
Overview
Simple model class for representing AppVersion
Instance Attribute Summary collapse
-
#store_state ⇒ Object
readonly
Returns the value of attribute store_state.
-
#version_string ⇒ Object
readonly
Returns the value of attribute version_string.
Attributes inherited from Model
Instance Method Summary collapse
-
#initialize(options) ⇒ Version
constructor
A new instance of Version.
Constructor Details
#initialize(options) ⇒ Version
Returns a new instance of Version.
8 9 10 11 12 13 14 |
# File 'lib/connector_kit/models/version.rb', line 8 def initialize() super() attrs = ['attributes'] @version_string = attrs['versionString'] @store_state = attrs['appStoreState'] end |
Instance Attribute Details
#store_state ⇒ Object (readonly)
Returns the value of attribute store_state.
6 7 8 |
# File 'lib/connector_kit/models/version.rb', line 6 def store_state @store_state end |
#version_string ⇒ Object (readonly)
Returns the value of attribute version_string.
6 7 8 |
# File 'lib/connector_kit/models/version.rb', line 6 def version_string @version_string end |