Class: Kagi::API::Models::Content::Fast
- Inherits:
-
Data
- Object
- Data
- Kagi::API::Models::Content::Fast
- Defined in:
- lib/kagi/api/models/content/fast.rb
Overview
Models fast data.
Instance Attribute Summary collapse
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#references ⇒ Object
readonly
Returns the value of attribute references.
-
#tokens ⇒ Object
readonly
Returns the value of attribute tokens.
Class Method Summary collapse
Instance Attribute Details
#output ⇒ Object (readonly)
Returns the value of attribute output
8 9 10 |
# File 'lib/kagi/api/models/content/fast.rb', line 8 def output @output end |
#references ⇒ Object (readonly)
Returns the value of attribute references
8 9 10 |
# File 'lib/kagi/api/models/content/fast.rb', line 8 def references @references end |
#tokens ⇒ Object (readonly)
Returns the value of attribute tokens
8 9 10 |
# File 'lib/kagi/api/models/content/fast.rb', line 8 def tokens @tokens end |
Class Method Details
.for(**attributes) ⇒ Object
9 10 11 |
# File 'lib/kagi/api/models/content/fast.rb', line 9 def self.for(**attributes) new(**attributes, references: attributes[:references].map { Reference[**it] }) end |