Method: Calabash::Android::Operations::Device#server_version
- Defined in:
- lib/calabash-android/operations.rb
#server_version ⇒ Object
504 505 506 507 508 509 510 511 512 513 514 515 |
# File 'lib/calabash-android/operations.rb', line 504 def server_version begin response = perform_action('version') raise 'Invalid response' unless response['success'] rescue => e log("Could not contact server") log(e && e.backtrace && e.backtrace.join("\n")) raise "The server did not respond. Make sure the server is running." end response['message'] end |