Sha256: 8344b0607fae5cdbd29f58be6d2d801c30c42dc79e4e8d00d20dee77a11e16ee

Contents?: true

Size: 359 Bytes

Versions: 3

Compression:

Stored size: 359 Bytes

Contents

module Rexpense
  module Entities
    class Organization < Base
      attribute :id, Integer
      attribute :name, String
      attribute :restricted_tags, Boolean
      attribute :expired, Boolean
      attribute :members_count, Integer
      attribute :logo, Array[Hash]

      [:created_at, :updated_at].each { |n| attribute n, String }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rexpense-2.1.0 lib/rexpense/entities/organization.rb
rexpense-2.0.0 lib/rexpense/entities/organization.rb
rexpense-1.0.0 lib/rexpense/entities/organization.rb