Class: RootLevel
- Inherits:
-
Struct
- Object
- Struct
- RootLevel
- Defined in:
- lib/generators/graphql/templates/models/root_level.rb
Constant Summary collapse
- STATIC =
new(id: 'root').freeze
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Class Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
1 2 3 |
# File 'lib/generators/graphql/templates/models/root_level.rb', line 1 def id @id end |
Class Method Details
.find(_) ⇒ Object
4 5 6 |
# File 'lib/generators/graphql/templates/models/root_level.rb', line 4 def self.find(_) STATIC end |