Class: Whoosh::ClientGen::IR::Resource

Inherits:
Struct
  • Object
show all
Defined in:
lib/whoosh/client_gen/ir.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#endpointsObject

Returns the value of attribute endpoints

Returns:

  • (Object)

    the current value of endpoints



14
15
16
# File 'lib/whoosh/client_gen/ir.rb', line 14

def endpoints
  @endpoints
end

#fieldsObject

Returns the value of attribute fields

Returns:

  • (Object)

    the current value of fields



14
15
16
# File 'lib/whoosh/client_gen/ir.rb', line 14

def fields
  @fields
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



14
15
16
# File 'lib/whoosh/client_gen/ir.rb', line 14

def name
  @name
end

Instance Method Details

#crud_actionsObject



15
16
17
# File 'lib/whoosh/client_gen/ir.rb', line 15

def crud_actions
  endpoints.map(&:action)
end