Class: Amt::Version
- Inherits:
-
Object
- Object
- Amt::Version
- Defined in:
- lib/amt/version.rb
Instance Method Summary collapse
-
#initialize(client) ⇒ Version
constructor
A new instance of Version.
- #status ⇒ Object
Constructor Details
#initialize(client) ⇒ Version
Returns a new instance of Version.
3 4 5 |
# File 'lib/amt/version.rb', line 3 def initialize client @client = client end |
Instance Method Details
#status ⇒ Object
7 8 9 10 11 12 |
# File 'lib/amt/version.rb', line 7 def status puts "Protocol_version '#{@client.protocol_version}'" puts "Product vendor '#{@client.product_vendor}'" puts "Product version '#{@client.product_version}'" 0 end |