Class: Maze::Client::Appium::SessionMetadata

Inherits:
Object
  • Object
show all
Defined in:
lib/maze/client/appium/session_metadata.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSessionMetadata

Returns a new instance of SessionMetadata.



5
6
7
8
# File 'lib/maze/client/appium/session_metadata.rb', line 5

def initialize
  @success = false
  @failure_message = 'Default failure message'
end

Instance Attribute Details

#deviceObject

Returns the value of attribute device.



12
13
14
# File 'lib/maze/client/appium/session_metadata.rb', line 12

def device
  @device
end

#failure_messageObject

Returns the value of attribute failure_message.



14
15
16
# File 'lib/maze/client/appium/session_metadata.rb', line 14

def failure_message
  @failure_message
end

#farmObject

Returns the value of attribute farm.



11
12
13
# File 'lib/maze/client/appium/session_metadata.rb', line 11

def farm
  @farm
end

#idObject

Returns the value of attribute id.



10
11
12
# File 'lib/maze/client/appium/session_metadata.rb', line 10

def id
  @id
end

#successObject

Returns the value of attribute success.



13
14
15
# File 'lib/maze/client/appium/session_metadata.rb', line 13

def success
  @success
end