Class: Whoosh::ClientGen::IR::Resource
- Inherits:
-
Struct
- Object
- Struct
- Whoosh::ClientGen::IR::Resource
- Defined in:
- lib/whoosh/client_gen/ir.rb
Instance Attribute Summary collapse
-
#endpoints ⇒ Object
Returns the value of attribute endpoints.
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#endpoints ⇒ Object
Returns the value of attribute endpoints
14 15 16 |
# File 'lib/whoosh/client_gen/ir.rb', line 14 def endpoints @endpoints end |
#fields ⇒ Object
Returns the value of attribute fields
14 15 16 |
# File 'lib/whoosh/client_gen/ir.rb', line 14 def fields @fields end |
#name ⇒ Object
Returns the value of attribute name
14 15 16 |
# File 'lib/whoosh/client_gen/ir.rb', line 14 def name @name end |
Instance Method Details
#crud_actions ⇒ Object
15 16 17 |
# File 'lib/whoosh/client_gen/ir.rb', line 15 def crud_actions endpoints.map(&:action) end |