Sha256: e78f2d68bf4de480224782fe60d6b69e26b827b6a542a061cc2560dfa4745842

Contents?: true

Size: 299 Bytes

Versions: 45

Compression:

Stored size: 299 Bytes

Contents

module RockRMS
  module Response
    class BlockType < Base
      MAP = {
        id: 'Id',
        name: 'Name',
        description: 'Description',
        category: 'Category',
        path: 'Path'
      }.freeze

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

Version data entries

45 entries across 45 versions & 1 rubygems

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