Class: Trainer::XCResult::DocumentLocation
- Inherits:
-
AbstractObject
- Object
- AbstractObject
- Trainer::XCResult::DocumentLocation
- Defined in:
- trainer/lib/trainer/xcresult.rb
Overview
-
DocumentLocation
-
Kind: object
-
Properties: + url: String + concreteTypeName: String
-
Instance Attribute Summary collapse
-
#concrete_type_name ⇒ Object
Returns the value of attribute concrete_type_name.
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from AbstractObject
Instance Method Summary collapse
-
#initialize(data) ⇒ DocumentLocation
constructor
A new instance of DocumentLocation.
Methods inherited from AbstractObject
Constructor Details
#initialize(data) ⇒ DocumentLocation
Returns a new instance of DocumentLocation.
323 324 325 326 327 |
# File 'trainer/lib/trainer/xcresult.rb', line 323 def initialize(data) self.url = fetch_value(data, "url") self.concrete_type_name = data["concreteTypeName"]["_value"] super end |
Instance Attribute Details
#concrete_type_name ⇒ Object
Returns the value of attribute concrete_type_name.
322 323 324 |
# File 'trainer/lib/trainer/xcresult.rb', line 322 def concrete_type_name @concrete_type_name end |
#url ⇒ Object
Returns the value of attribute url.
321 322 323 |
# File 'trainer/lib/trainer/xcresult.rb', line 321 def url @url end |