Sha256: 5eb60c838e6cc9fef6ee7eadfbc4ea42879a9ea292cd5f391c1f1e6b10b2dc46

Contents?: true

Size: 980 Bytes

Versions: 3

Compression:

Stored size: 980 Bytes

Contents

# frozen_string_literal: true

module YouCanBookMe
  # YouCanBookMe's Permission model.
  class Permission
    include ModelUtils

    ASSOCIATION = {
      databaseVersion: Permission,
      fromLocalAccount: LocalAccount,
      toLocalAccount: LocalAccount
    }.freeze

    # @return [String]
    attr_accessor :createdAt
    # @return [YouCanBookMe::Permission]
    attr_accessor :databaseVersion
    # @return [String]
    attr_accessor :expiresAt
    # @return [YouCanBookMe::LocalAccount]
    attr_accessor :fromLocalAccount
    # @return [String]
    attr_accessor :id
    # @return [String]
    attr_accessor :requestedAction
    # @return [String]
    attr_accessor :resource
    # @return [String]
    attr_accessor :status
    # @return [Integer]
    attr_accessor :statusHibernate
    # @return [YouCanBookMe::LocalAccount]
    attr_accessor :toLocalAccount
    # @return [String]
    attr_accessor :type
    # @return [String]
    attr_accessor :updatedAt
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
youcanbookme-0.0.3.alpha lib/youcanbookme/models/permission.rb
youcanbookme-0.0.2.alpha lib/youcanbookme/models/permission.rb
youcanbookme-0.0.1.alpha lib/youcanbookme/models/permission.rb