Class: XCResult::DocumentLocation

Inherits:
AbstractObject show all
Defined in:
lib/xcresult/models.rb

Overview

  • DocumentLocation

    • Kind: object

    • Properties: + url: String + concreteTypeName: String

Instance Attribute Summary collapse

Attributes inherited from AbstractObject

#type

Instance Method Summary collapse

Methods inherited from AbstractObject

#fetch_value, #fetch_values

Constructor Details

#initialize(data) ⇒ DocumentLocation

Returns a new instance of DocumentLocation.



344
345
346
347
348
# File 'lib/xcresult/models.rb', line 344

def initialize(data)
  self.url = fetch_value(data, 'url')
  self.concrete_type_name = data['concreteTypeName']['_value']
  super
end

Instance Attribute Details

#concrete_type_nameObject

Returns the value of attribute concrete_type_name.



343
344
345
# File 'lib/xcresult/models.rb', line 343

def concrete_type_name
  @concrete_type_name
end

#urlObject

Returns the value of attribute url.



342
343
344
# File 'lib/xcresult/models.rb', line 342

def url
  @url
end