Sha256: 74bb745f51bd20ab89baf64773d63b4c8a6a98250c402fb87d67c3d22dc4659d

Contents?: true

Size: 443 Bytes

Versions: 48

Compression:

Stored size: 443 Bytes

Contents

module RockRMS
  module Response
    class WorkflowActivityType < Base
      MAP = {
        name: 'Name',
        description: 'Description',
        order: 'Order',
        actions: 'ActionTypes',
        workflow_type_id: 'WorkflowTypeId'
      }.freeze

      def format_single(data)
        response = to_h(MAP, data)
        response[:actions] = WorkflowActionType.format(response[:actions])
        response
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
rock_rms-8.17.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.16.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.15.2 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.15.1 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.15.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.14.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.13.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.12.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.11.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.10.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.9.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.8.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.7.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.6.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.5.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.4.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.3.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.2.1 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.2.0 lib/rock_rms/response/workflow_activity_type.rb
rock_rms-8.1.0 lib/rock_rms/response/workflow_activity_type.rb