Sha256: 545ea8b6edf0487e2deef005eb6a7f66d89086dd1aa86e34489a7beecdd85710

Contents?: true

Size: 362 Bytes

Versions: 5

Compression:

Stored size: 362 Bytes

Contents

module RockRMS
  module Response
    class ContentChannel < Base
      MAP = {
        name: 'Name',
        description: 'Description',
        is_active: 'IsActive',
        icon_css_class: 'IconCssClass',
        content_channel_type_id: 'ContentChannelTypeId'
      }.freeze

      def format_single(data)
        to_h(MAP, data)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rock_rms-9.14.0 lib/rock_rms/response/content_channel.rb
rock_rms-9.13.0 lib/rock_rms/response/content_channel.rb
rock_rms-9.12.0 lib/rock_rms/response/content_channel.rb
rock_rms-9.11.0 lib/rock_rms/response/content_channel.rb
rock_rms-9.10.0 lib/rock_rms/response/content_channel.rb