Class: PogoPlug::ApiVersion

Inherits:
Object
  • Object
show all
Defined in:
lib/pogoplug/api_version.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_dateObject

Returns the value of attribute build_date.



3
4
5
# File 'lib/pogoplug/api_version.rb', line 3

def build_date
  @build_date
end

#versionObject

Returns the value of attribute version.



3
4
5
# File 'lib/pogoplug/api_version.rb', line 3

def version
  @version
end