Sha256: 27f78891834fec59cede7bbeeacfe57ac72c64301c4e18b497aec6f6c8b0bb2c

Contents?: true

Size: 289 Bytes

Versions: 3

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

module Hahamut
  module Message
    # Image Message
    class Image < Base
      attribute :id, :string
      attribute :ext, :string
      attribute :width, :integer
      attribute :height, :integer

      def type
        :img
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hahamut-0.1.2 lib/hahamut/message/image.rb
hahamut-0.1.1 lib/hahamut/message/image.rb
hahamut-0.1.0 lib/hahamut/message/image.rb