Sha256: f387e13840daabe032d2fc2d0c3ac4c4aa4ff65e124dc0b16c62b3c8752bd353

Contents?: true

Size: 670 Bytes

Versions: 21

Compression:

Stored size: 670 Bytes

Contents

# frozen_string_literal: true

require 'graphql'

module Osso
  module GraphQL
    module Types
      class EnterpriseAccount < Types::BaseObject
        description 'An Account for a company that wishes to use SAML via Osso'
        implements ::GraphQL::Types::Relay::Node

        field :id, ID, null: false
        field :name, String, null: false
        field :domain, String, null: false
        field :identity_providers, [Types::IdentityProvider], null: true
        field :status, String, null: false

        def status
          'active'
        end

        def identity_providers
          object.identity_providers
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
osso-0.0.5.pre.iota lib/osso/graphql/types/enterprise_account.rb
osso-0.0.5.pre.theta lib/osso/graphql/types/enterprise_account.rb
osso-0.0.5.pre.eta lib/osso/graphql/types/enterprise_account.rb
osso-0.0.5.pre.zeta lib/osso/graphql/types/enterprise_account.rb
osso-0.0.5.pre.epsilon lib/osso/graphql/types/enterprise_account.rb
osso-0.0.5.pre.delta lib/osso/graphql/types/enterprise_account.rb
osso-0.0.5.pre.gamma lib/osso/graphql/types/enterprise_account.rb
osso-0.0.5.pre.beta lib/osso/graphql/types/enterprise_account.rb
osso-0.0.5.pre.alpha lib/osso/graphql/types/enterprise_account.rb
osso-0.0.4 lib/osso/graphql/types/enterprise_account.rb
osso-0.0.3.27 lib/osso/graphql/types/enterprise_account.rb
osso-0.0.3.26 lib/osso/graphql/types/enterprise_account.rb
osso-0.0.3.25 lib/osso/graphql/types/enterprise_account.rb
osso-0.0.3.24 lib/osso/graphql/types/enterprise_account.rb
osso-0.0.3.23 lib/osso/graphql/types/enterprise_account.rb
osso-0.0.3.22 lib/osso/graphql/types/enterprise_account.rb
osso-0.0.3.21 lib/osso/graphql/types/enterprise_account.rb
osso-0.0.3.20 lib/osso/graphql/types/enterprise_account.rb
osso-0.0.3.19 lib/osso/graphql/types/enterprise_account.rb
osso-0.0.3.18 lib/osso/graphql/types/enterprise_account.rb