Class: PogoPlug::ApiVersion
- Inherits:
-
Object
- Object
- PogoPlug::ApiVersion
- Defined in:
- lib/pogoplug/api_version.rb
Instance Attribute Summary collapse
-
#build_date ⇒ Object
Returns the value of attribute build_date.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version, build_date) ⇒ ApiVersion
constructor
A new instance of ApiVersion.
Constructor Details
#initialize(version, build_date) ⇒ ApiVersion
Returns a new instance of ApiVersion.
5 6 7 8 |
# File 'lib/pogoplug/api_version.rb', line 5 def initialize(version, build_date) @version = version @build_date = build_date end |
Instance Attribute Details
#build_date ⇒ Object
Returns the value of attribute build_date.
3 4 5 |
# File 'lib/pogoplug/api_version.rb', line 3 def build_date @build_date end |
#version ⇒ Object
Returns the value of attribute version.
3 4 5 |
# File 'lib/pogoplug/api_version.rb', line 3 def version @version end |