Sha256: 7dd7024aca0459eddeec591e0f083972165fc4de8202d8e93f51df64340ce690

Contents?: true

Size: 462 Bytes

Versions: 50

Compression:

Stored size: 462 Bytes

Contents

module RockRMS
  module Response
    class WorkflowType < Base
      MAP = {
        id: 'Id',
        active: 'IsActive',
        name: 'Name',
        description: 'Description',
        summary: 'SummaryViewText',
        activities: 'ActivityTypes'
      }.freeze

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

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
rock_rms-7.0.2 lib/rock_rms/response/workflow_type.rb
rock_rms-7.0.1 lib/rock_rms/response/workflow_type.rb
rock_rms-7.0.0 lib/rock_rms/response/workflow_type.rb
rock_rms-6.2.0 lib/rock_rms/response/workflow_type.rb
rock_rms-6.1.0 lib/rock_rms/response/workflow_type.rb
rock_rms-6.0.8 lib/rock_rms/response/workflow_type.rb
rock_rms-6.0.7 lib/rock_rms/response/workflow_type.rb
rock_rms-6.0.6 lib/rock_rms/response/workflow_type.rb
rock_rms-6.0.5 lib/rock_rms/response/workflow_type.rb
rock_rms-6.0.4 lib/rock_rms/response/workflow_type.rb
rock_rms-6.0.3 lib/rock_rms/response/workflow_type.rb
rock_rms-6.0.1 lib/rock_rms/response/workflow_type.rb
rock_rms-6.0.0 lib/rock_rms/response/workflow_type.rb
rock_rms-5.18.0 lib/rock_rms/response/workflow_type.rb
rock_rms-5.17.0 lib/rock_rms/response/workflow_type.rb
rock_rms-5.16.0 lib/rock_rms/response/workflow_type.rb
rock_rms-5.15.0 lib/rock_rms/response/workflow_type.rb
rock_rms-5.14.0 lib/rock_rms/response/workflow_type.rb
rock_rms-5.13.0 lib/rock_rms/response/workflow_type.rb
rock_rms-5.12.0 lib/rock_rms/response/workflow_type.rb