Sha256: c4334337e292dc530f6ad99eade6e7301359e026bea485b4f0eb24719bf21ed1

Contents?: true

Size: 951 Bytes

Versions: 6

Compression:

Stored size: 951 Bytes

Contents

module Dnsimple
  module Struct

    class Collaborator < Base
      # @return [Integer] The collaborator ID in DNSimple.
      attr_accessor :id

      # @return [Integer] The associated domain ID.
      attr_accessor :domain_id

      # @return [String] The associated domain name.
      attr_accessor :domain_name

      # @return [Integer, NilClass] The user ID, if the collaborator accepted the invitation.
      attr_accessor :user_id

      # @return [String] The user email.
      attr_accessor :user_email

      # @return [TrueClass,FalseClass] Invitation
      attr_accessor :invitation

      # @return [String] When the collaborator was created in DNSimple.
      attr_accessor :created_at

      # @return [String] When the collaborator was last updated in DNSimple.
      attr_accessor :updated_at

      # @return [String,NilClass] When the collaborator has accepted the invitation.
      attr_accessor :accepted_at
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dnsimple-4.6.0 lib/dnsimple/struct/collaborator.rb
dnsimple-4.5.0 lib/dnsimple/struct/collaborator.rb
dnsimple-4.4.0 lib/dnsimple/struct/collaborator.rb
dnsimple-4.3.0 lib/dnsimple/struct/collaborator.rb
dnsimple-4.2.0 lib/dnsimple/struct/collaborator.rb
dnsimple-4.1.0 lib/dnsimple/struct/collaborator.rb