Method: Frodo::Schema#actions

Defined in:
lib/frodo/schema.rb

#actionsArray<String>

Returns a list of actions defined by the schema.

Returns:

  • (Array<String>)


35
36
37
38
39
# File 'lib/frodo/schema.rb', line 35

def actions
  @actions ||= .xpath('//Action').map do |action|
    action.attributes['Name'].value
  end
end