Sha256: 0991388f37825e8100211cdb44a13910dda52dc2d85895c673deca8ff9f125ec

Contents?: true

Size: 249 Bytes

Versions: 34

Compression:

Stored size: 249 Bytes

Contents

api.array @klass.name.underscore.pluralize do
  @enumerations.each do |enumeration|
    api.__send__ @klass.name.underscore do
      api.id enumeration.id
      api.name enumeration.name
      api.is_default enumeration.is_default
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.23 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.22 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.21 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.20 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.19 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.18 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.17 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.16 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.15 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.14 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.13 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.12 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.10 spec/redmine/app/views/enumerations/index.api.rsb
redmine_extensions-0.0.8 spec/redmine/app/views/enumerations/index.api.rsb