Class: Furia::Query
- Inherits:
-
Struct
- Object
- Struct
- Furia::Query
- Defined in:
- lib/furia.rb
Instance Attribute Summary collapse
-
#cached ⇒ Object
Returns the value of attribute cached.
-
#duration_ms ⇒ Object
Returns the value of attribute duration_ms.
-
#sql ⇒ Object
Returns the value of attribute sql.
-
#stacktrace ⇒ Object
Returns the value of attribute stacktrace.
-
#uid ⇒ Object
Returns the value of attribute uid.
Class Method Summary collapse
Instance Attribute Details
#cached ⇒ Object
Returns the value of attribute cached
13 14 15 |
# File 'lib/furia.rb', line 13 def cached @cached end |
#duration_ms ⇒ Object
Returns the value of attribute duration_ms
13 14 15 |
# File 'lib/furia.rb', line 13 def duration_ms @duration_ms end |
#sql ⇒ Object
Returns the value of attribute sql
13 14 15 |
# File 'lib/furia.rb', line 13 def sql @sql end |
#stacktrace ⇒ Object
Returns the value of attribute stacktrace
13 14 15 |
# File 'lib/furia.rb', line 13 def stacktrace @stacktrace end |
#uid ⇒ Object
Returns the value of attribute uid
13 14 15 |
# File 'lib/furia.rb', line 13 def uid @uid end |
Class Method Details
.from_hash(hash) ⇒ Object
15 16 17 |
# File 'lib/furia.rb', line 15 def self.from_hash(hash) new(**hash.slice(*members)) end |