Sha256: 0913dac76930b22cb213b6e6ebdf78c81d67c2033c1087726398d7958ad4a7a9

Contents?: true

Size: 725 Bytes

Versions: 1

Compression:

Stored size: 725 Bytes

Contents

require 'money_s3/base_element'

module MoneyS3
  class VlajkaType
    include BaseElement

    def id_user
      at :IDUser
    end

    def name_user
      at :NameUser
    end

    def id_flag
      at :IDFlag
    end

    def title
      at :Title
    end

    def enabled
      at :Enabled
    end

    def remark
      at :Remark
    end

    def rf_width
      at :RFWidth
    end

    def rf_height
      at :RFHeight
    end

    def to_h
      { id_user: id_user,
        name_user: name_user,
        id_flag: id_flag,
        title: title,
        enabled: enabled,
        remark: remark,
        rf_width: rf_width,
        rf_height: rf_height
      }.delete_if { |k, v| v.nil? || v.empty? }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.3.0 lib/money_s3/vlajka_type.rb