Sha256: fb673bf6eb28d2b0a1545cdcc5b4845393873d865023c3c7a66d8f936d6553b9

Contents?: true

Size: 547 Bytes

Versions: 2

Compression:

Stored size: 547 Bytes

Contents

require_relative 'endpoint'

module Manifestly
  module Entity
    class User < Endpoint
      attr_accessor :id
      attr_accessor :avatar_url
      attr_accessor :email
      attr_accessor :name
      attr_accessor :simple_display_name
      attr_accessor :username
      attr_accessor :membership_id
      attr_accessor :role

      invalid_method(:create)
      invalid_class_method(:get)
      invalid_method(:update)
      invalid_method(:save)
      invalid_method(:delete)

      def self.path
        'users'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
manifestly-client-0.0.1 lib/manifestly/entity/user.rb
manifestly-client-0.0.0 lib/manifestly/entity/user.rb