Class: Treaty::Info::Entity::Result
- Inherits:
-
Object
- Object
- Treaty::Info::Entity::Result
- Defined in:
- lib/treaty/info/entity/result.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
Instance Method Summary collapse
-
#initialize(builder) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(builder) ⇒ Result
Returns a new instance of Result.
9 10 11 |
# File 'lib/treaty/info/entity/result.rb', line 9 def initialize(builder) @attributes = builder.attributes end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
7 8 9 |
# File 'lib/treaty/info/entity/result.rb', line 7 def attributes @attributes end |