Class: Rafflesia::QueryPlanStep
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::QueryPlanStep
- Defined in:
- lib/rafflesia/query/query_plan_step.rb
Constant Summary collapse
- HASH_ATTRS =
{ description: :description, kind: :kind, source: :source }.freeze
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(json) ⇒ QueryPlanStep
constructor
A new instance of QueryPlanStep.
Constructor Details
#initialize(json) ⇒ QueryPlanStep
Returns a new instance of QueryPlanStep.
19 20 21 22 23 24 25 |
# File 'lib/rafflesia/query/query_plan_step.rb', line 19 def initialize(json) super() hash = self.class.normalize(json) @description = hash[:description] @kind = hash[:kind] @source = hash[:source] end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
14 15 16 |
# File 'lib/rafflesia/query/query_plan_step.rb', line 14 def description @description end |
#kind ⇒ Object
Returns the value of attribute kind.
14 15 16 |
# File 'lib/rafflesia/query/query_plan_step.rb', line 14 def kind @kind end |
#source ⇒ Object
Returns the value of attribute source.
14 15 16 |
# File 'lib/rafflesia/query/query_plan_step.rb', line 14 def source @source end |