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
12 13 14 |
# File 'lib/furia.rb', line 12 def cached @cached end |
#duration_ms ⇒ Object
Returns the value of attribute duration_ms
12 13 14 |
# File 'lib/furia.rb', line 12 def duration_ms @duration_ms end |
#sql ⇒ Object
Returns the value of attribute sql
12 13 14 |
# File 'lib/furia.rb', line 12 def sql @sql end |
#stacktrace ⇒ Object
Returns the value of attribute stacktrace
12 13 14 |
# File 'lib/furia.rb', line 12 def stacktrace @stacktrace end |
#uid ⇒ Object
Returns the value of attribute uid
12 13 14 |
# File 'lib/furia.rb', line 12 def uid @uid end |
Class Method Details
.from_hash(hash) ⇒ Object
14 15 16 |
# File 'lib/furia.rb', line 14 def self.from_hash(hash) new(**hash.slice(*members)) end |