Class: ShowInfo
- Inherits:
-
Object
- Object
- ShowInfo
- Defined in:
- lib/teuton-get/show_info.rb
Instance Method Summary collapse
- #call(testid, options) ⇒ Object
-
#initialize ⇒ ShowInfo
constructor
A new instance of ShowInfo.
Constructor Details
Instance Method Details
#call(testid, options) ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/teuton-get/show_info.rb', line 12 def call(testid, ) testinfo = get_testinfo(testid) if ["format"] == "json" puts testinfo.to_json else @repo_data.show_testinfo(testinfo) end end |